+1
-6
@@ -25,15 +25,11 @@ set(CMAKE_CXX_STANDARD 17)
|
||||
set(MIDASSYS $ENV{MIDASSYS})
|
||||
set(EPICSSYS $ENV{EPICSSYS})
|
||||
|
||||
# Select the correct EPICS library depending on the OS (currently Linus or Darwin are available)
|
||||
# Select the correct EPICS library depending on the OS (currently Linux is available)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Linux)
|
||||
link_directories(${EPICSSYS}/lib/linux-x86_64)
|
||||
set(LIBS ${LIBS} -lpthread -lutil -lrt -lbsd -ldl)
|
||||
endif()
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Darwin)
|
||||
link_directories(${EPICSSYS}/lib/darwin-aarch64)
|
||||
set(LIBS ${LIBS} -lutil -lca)
|
||||
endif()
|
||||
|
||||
# Add the MIDAS libs
|
||||
set(LIBS
|
||||
@@ -99,7 +95,6 @@ if(BUILD_TESTS)
|
||||
$ENV{MIDASSYS}/include/mscb
|
||||
${EPICSSYS}/include
|
||||
${EPICSSYS}/include/os/Linux
|
||||
${EPICSSYS}/include/os/Darwin
|
||||
${EPICSSYS}/include/compiler/gcc
|
||||
${EPICSSYS}/include/compiler/clang
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user