From 6344522e3f5749c26fd12c6fb0b583056a78069d Mon Sep 17 00:00:00 2001 From: armatusmiles <akurotych@gmail.com> Date: Mon, 14 Jan 2019 18:50:26 +0700 Subject: [PATCH] [+] unix guard to core.pri --- CMakeLists.txt | 4 ++-- core/core.pri | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b5a6d4..e83538a 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 62dd630..f2486be 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 \ -- GitLab