Made installation more robust - MIDASSYS does not need to be the MIDAS repo anymore
Test And Build / Format (push) Has been cancelled
Test And Build / Lint (push) Has been cancelled

This commit is contained in:
2025-11-06 11:43:52 +01:00
parent b659c9d4e8
commit feb0e0362a
+15 -10
View File
@@ -21,20 +21,25 @@ set(
DRIVERS
$ENV{MIDASSYS}/drivers/bus/null.cxx
$ENV{MIDASSYS}/drivers/class/generic.cxx
$ENV{MIDASSYS}/mscb/src/mscb.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, libmidas.a and libmscb.a
set(MIDAS_LIBS
mfe
midas
mscb
)
set(LIBS ${SYS_LIBS} ${MIDAS_LIBS})
################################################################################
## Device Library
################################################################################