Made installation more robust - MIDASSYS does not need to be the MIDAS repo anymore

This commit is contained in:
2025-11-06 11:40:04 +01:00
parent 790a45c42f
commit 1557bf1227
2 changed files with 16 additions and 10 deletions
+1
View File
@@ -0,0 +1 @@
build
+15 -10
View File
@@ -22,17 +22,23 @@ set(
$ENV{MIDASSYS}/drivers/class/generic.cxx
)
set(
LIBS
# -lz # compression library
-lpthread
-lutil
-lrt # librt for real time guarantees (really just backwards compat)
-ldl # libdl for dynamic loading
$ENV{MIDASSYS}/lib/libmfe.a
$ENV{MIDASSYS}/lib/libmidas.a
set(SYS_LIBS
pthread
util
rt
dl
)
link_directories($ENV{MIDASSYS}/lib)
# Links to libmfe.a and libmidas.a
set(MIDAS_LIBS
mfe
midas
)
set(LIBS ${SYS_LIBS} ${MIDAS_LIBS})
################################################################################
## Device Library
################################################################################
@@ -58,7 +64,6 @@ target_include_directories(
PRIVATE
$ENV{MIDASSYS}/drivers
$ENV{MIDASSYS}/include
$ENV{MIDASSYS}/mscb/include
)
target_link_libraries(