mesytec-mnode/external/CMakeLists.txt

30 lines
1.1 KiB
Text
Raw Normal View History

2024-11-21 19:30:59 +01:00
find_package(nng QUIET)
if(NOT nng)
2024-12-28 17:54:15 +01:00
message(STATUS "${CMAKE_PROJECT_NAME}: Using nng from ${CMAKE_CURRENT_SOURCE_DIR}/nng")
option(NNG_SETSTACKSIZE "Use rlimit for thread stack size" ON)
set(NNG_TESTS OFF)
set(NNG_ENABLE_NNGCAT ON)
add_subdirectory(nng)
endif()
2024-12-28 17:54:15 +01:00
if (NOT TARGET spdlog)
message(STATUS "${CMAKE_PROJECT_NAME}: Using spdlog from ${CMAKE_CURRENT_SOURCE_DIR}/spdlog")
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" OFF)
option(SPDLOG_INSTALL "Generate the install target" OFF)
add_subdirectory(spdlog-1.14.0)
set_target_properties(spdlog PROPERTIES POSITION_INDEPENDENT_CODE ON)
endif()
2024-12-28 17:54:15 +01:00
find_package(mesytec-mvlc QUIET)
if (NOT mesytec-mvlc)
2024-12-28 17:54:15 +01:00
message(STATUS "${CMAKE_PROJECT_NAME}: Using mesytec-mvlc from ${CMAKE_CURRENT_SOURCE_DIR}/mesytec-mvlc")
add_subdirectory(mesytec-mvlc)
endif()
if (NOT taskflow)
option(TF_BUILD_CUDA "Enables builds of cuda code" OFF)
option(TF_BUILD_TESTS "Enables builds of tests" OFF)
option(TF_BUILD_EXAMPLES "Enables builds of examples" OFF)
add_subdirectory(taskflow-3.8.0)
endif()