From: Zofia Abramowska Date: Tue, 8 Apr 2014 09:15:11 +0000 (+0200) Subject: Fix system include dirs dependencies for test commons X-Git-Tag: security-manager_5.5_testing~265 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d61254ed2c930b245c8da357527b5f0b489eacd;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git Fix system include dirs dependencies for test commons [Bug] System include dirs dependencies not marked as such [Cause] Wrong settting in CMakeLists [Solution] Add inlude_directories with system setting for test commons dependencies [Verification] Successfull build Change-Id: I00a87a0cf21497612fa84e6e718667be2515a48f --- diff --git a/tests/common/CMakeLists.txt b/tests/common/CMakeLists.txt index 669ed2e3..74e2521b 100644 --- a/tests/common/CMakeLists.txt +++ b/tests/common/CMakeLists.txt @@ -22,11 +22,11 @@ SET(COMMON_TARGET_TEST_SOURCES ${PROJECT_SOURCE_DIR}/tests/common/gdbbacktrace.cpp ) -#header directories -INCLUDE_DIRECTORIES( - ${COMMON_TARGET_DEP_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/tests/common - ) +#system and local includes +INCLUDE_DIRECTORIES(SYSTEM ${COMMON_TARGET_DEP_INCLUDE_DIRS}) + +INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/tests/common) + #output OBJECT format ADD_LIBRARY(${COMMON_TARGET_TEST} ${COMMON_TARGET_TEST_SOURCES})