Made installation more robust - MIDASSYS does not need to be the MIDAS repo anymore
This commit is contained in:
+15
-10
@@ -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
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user