(AutomatedTests) Ensure local headers are included before installed 36/39736/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 21 May 2015 14:30:15 +0000 (15:30 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 21 May 2015 14:30:22 +0000 (15:30 +0100)
Change-Id: I375e2acf7e856a8f08385b532ea01f5f267b0360

automated-tests/src/dali-adaptor-internal/CMakeLists.txt
automated-tests/src/dali-adaptor/CMakeLists.txt
automated-tests/src/dali-platform-abstraction/CMakeLists.txt

index a670a19..fc8854c 100644 (file)
@@ -47,8 +47,7 @@ ENDFOREACH(directory ${CAPI_LIB_LIBRARY_DIRS})
 
 # Adaptor directories are included in order of most-specific to least specific:
 INCLUDE_DIRECTORIES(
-    ${${CAPI_LIB}_INCLUDE_DIRS}
-    ../dali-adaptor/dali-test-suite-utils
+    ../../../
     ../../../adaptors/mobile
     ../../../adaptors/x11
     ../../../adaptors/common
@@ -59,7 +58,8 @@ INCLUDE_DIRECTORIES(
     ../../../adaptors/public-api/adaptor-framework
     ../../../adaptors/tizen
     ../../../adaptors/ubuntu
-    ../../../
+    ${${CAPI_LIB}_INCLUDE_DIRS}
+    ../dali-adaptor/dali-test-suite-utils
 )
 
 ADD_EXECUTABLE(${EXEC_NAME} ${EXEC_NAME}.cpp ${TC_SOURCES})
index 89be323..1c19898 100644 (file)
@@ -38,6 +38,7 @@ FOREACH(directory ${${CAPI_LIB}_LIBRARY_DIRS})
 ENDFOREACH(directory ${CAPI_LIB_LIBRARY_DIRS})
 
 INCLUDE_DIRECTORIES(
+    ../../../
     ${${CAPI_LIB}_INCLUDE_DIRS}
     dali-test-suite-utils
 )
index 69d02a6..df6910e 100644 (file)
@@ -36,11 +36,11 @@ FOREACH(directory ${${CAPI_LIB}_LIBRARY_DIRS})
 ENDFOREACH(directory ${CAPI_LIB_LIBRARY_DIRS})
 
 INCLUDE_DIRECTORIES(
-    ${${CAPI_LIB}_INCLUDE_DIRS}
-    ../dali-adaptor/dali-test-suite-utils
+    ../../../
     ../../../adaptors/tizen
     ../../../platform-abstractions/tizen
-    ../../../
+    ${${CAPI_LIB}_INCLUDE_DIRS}
+    ../dali-adaptor/dali-test-suite-utils
     /usr/include/freetype2
 )