diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b5a6d40ec37ea4e995f28f2aed89ce71b083c2e..e83538a211f90e04be4a2d65c0fc897f264c2e05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,10 +10,10 @@ if(UNIX AND NOT APPLE) set(LINUX TRUE) endif() -#if(BUILD_DAP_TESTS) +if(BUILD_DAP_TESTS) enable_testing() add_subdirectory(test) -#endif() +endif() add_subdirectory(core) add_subdirectory(crypto) diff --git a/core/core.pri b/core/core.pri index 62dd63001f41bbffd384f152f1b1fd3e54823efe..f2486be9b5029e067ed5151772cd136912f9aae8 100644 --- a/core/core.pri +++ b/core/core.pri @@ -1,4 +1,6 @@ -include(unix/unix.pri) +unix { + include(unix/unix.pri) +} HEADERS += $$PWD/dap_common.h \ $$PWD/dap_config.h \