summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKozoriz <kozorizandriy@gmail.com>2015-12-23 09:10:25 +0200
committerKozoriz <kozorizandriy@gmail.com>2015-12-23 10:18:47 +0200
commite67dc283748da1abc2ed9c404c870bddb1c4d957 (patch)
treeb93d373816b7b0ed5b69cf894906295428d6bd60
parentb328c4713c0dfca772acc8a1e152b9f594216b62 (diff)
downloadsdl_core-e67dc283748da1abc2ed9c404c870bddb1c4d957.tar.gz
CMakeFiles update for security_test working
Updated main CMakeFile Updated CMakeFile in security_manager/test/ dir.
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/components/security_manager/test/CMakeLists.txt3
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
)