23 lines
542 B
CMake
23 lines
542 B
CMake
find_package(nng QUIET)
|
|
|
|
if(NOT nng)
|
|
message("-- Using nng from external/nng")
|
|
option(NNG_SETSTACKSIZE "Use rlimit for thread stack size" ON)
|
|
set(NNG_TESTS OFF)
|
|
set(NNG_ENABLE_NNGCAT ON)
|
|
add_subdirectory(nng)
|
|
endif()
|
|
|
|
find_package(mesytec-mvlc QUIET)
|
|
|
|
if (NOT mesytec-mvlc)
|
|
message("-- Using mesytec-mvlc from external/mesytec-mvlc")
|
|
add_subdirectory(mesytec-mvlc)
|
|
endif()
|
|
|
|
find_package(spdlog QUIET)
|
|
|
|
if (NOT TARGET spdlog)
|
|
message("-- Using spdlog from external/spdlog")
|
|
add_subdirectory(spdlog)
|
|
endif()
|