diff options
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/components/security_manager/test/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e608fbbb1b..d50c1e239c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -383,6 +383,9 @@ endif() include_directories( ${COMPONENTS_DIR}/include ${COMPONENTS_DIR}/protocol/include +if (BUILD_TESTS) + ${COMPONENTS_DIR}/include/test +endif () ) # --- 3rd party libs diff --git a/src/components/security_manager/test/CMakeLists.txt b/src/components/security_manager/test/CMakeLists.txt index 6554bb797f..5965ba6b61 100644 --- a/src/components/security_manager/test/CMakeLists.txt +++ b/src/components/security_manager/test/CMakeLists.txt @@ -35,12 +35,11 @@ include_directories( ${COMPONENTS_DIR}/protocol_handler/test/include ${COMPONENTS_DIR}/transport_manager/test/include ${COMPONENTS_DIR}/security_manager/include - include ) set(SOURCES #${COMPONENTS_DIR}/security_manager/test/crypto_manager_impl_test.cc - #${COMPONENTS_DIR}/security_manager/test/security_manager_test.cc + ${COMPONENTS_DIR}/security_manager/test/security_manager_test.cc #${COMPONENTS_DIR}/security_manager/test/security_query_test.cc ${COMPONENTS_DIR}/security_manager/test/security_query_matcher.cc ) |