From d6cad333e09e9172ad98f9d306cf9abfea39b391 Mon Sep 17 00:00:00 2001 From: cellframe <roman.khlopkov@demlabs.net> Date: Wed, 14 Dec 2022 15:20:37 +0300 Subject: [PATCH] [*] Standalone build fix --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 887d8d1653..1b1adc06a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,8 @@ if(NOT DEFINED CELLFRAME_MODULES) set(CELLFRAME_MODULES "${CELLFRAME_MODULES} srv-vpn") endif() + add_subdirectory(dap-sdk) + endif() message("Cellframe modules: ${CELLFRAME_MODULES}") @@ -70,11 +72,6 @@ add_subdirectory(3rdparty/crc32c_adler) # https://github.com/fonic/c include_directories(3rdparty/crc32c_adler) set(CELLFRAME_LIBS ${CELLFRAME_LIBS} crc32c_adler) -if(BUILD_TESTS) - include(cmake/OS_Detection.cmake) - add_subdirectory(dap-sdk) -endif() - if (BUILD_WITH_ZIP) add_subdirectory(3rdparty/libzip) -- GitLab