1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

uldaq: add to CMakeLists.txt

This commit is contained in:
Steffen Vogel 2018-09-24 21:24:20 +02:00
parent 6954f8bb78
commit 505099c1d3
2 changed files with 8 additions and 0 deletions

View file

@ -99,6 +99,7 @@ pkg_check_modules(LIBCONFIG IMPORTED_TARGET libconfig>=1.4.9)
pkg_check_modules(RABBITMQ_C IMPORTED_TARGET librabbitmq>=0.8.0)
pkg_check_modules(COMEDILIB IMPORTED_TARGET comedilib>=0.11.0)
pkg_check_modules(LIBZMQ IMPORTED_TARGET libzmq>=2.2.0)
pkg_check_modules(ULDAQ IMPORTED_TARGET libuldaq>=1.0.0)
pkg_check_modules(NANOMSG IMPORTED_TARGET nanomsg)
if(NOT NANOMSG_FOUND)
pkg_check_modules(NANOMSG IMPORTED_TARGET libnanomsg>=1.0.0)

View file

@ -46,6 +46,13 @@ if(HAS_EVENTFD)
)
endif()
# Enable Universal Library for Linux DAQ devices (libuldaq)
if(ULDAQ_FOUND)
list(APPEND NODE_SRC uldaq.c)
list(APPEND INCLUDE_DIRS ${ULDAQ_INCLUDE_DIRS})
list(APPEND LIBRARIES PkgConfig::ULDAQ)
endif()
# Enable shared memory node-type
if(HAS_SEMAPHORE AND HAS_MMAN)
list(APPEND NODE_SRC shmem.c)