From 69488596783779b31ad570065306980ff6dc4c92 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 17 Nov 2015 19:22:02 -0200 Subject: Move include directories a bit down below Better to follow the CMake logic and se those near the sources Signed-off-by: Tomaz Canabrava --- CMakeLists.txt | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ebe681cf4..6e0bd5d9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,18 +52,6 @@ set(CMAKE_MODULE_PATH ${${PROJECT_NAME}_SOURCE_DIR}/cmake/Modules ) -include_directories(. - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_BINARY_DIR} - ${CMAKE_BINARY_DIR}/desktop-widgets - desktop-widgets/ - qt-models - desktop-widgets/profile - subsurface-core/ -) - -message(STATUS "Creating build files for Subsurface") - # # TODO: This Compilation part should go on the Target specific CMake. # @@ -108,6 +96,16 @@ if(SMARTTRAK_IMPORT) pkg_config_library(LIBMDB libmdb REQUIRED) endif() +include_directories(. + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/desktop-widgets + desktop-widgets/ + qt-models + desktop-widgets/profile + subsurface-core/ +) + if(ANDROID) set(FBSUPPORT OFF) set(NO_PRINTING ON) -- cgit v1.2.3-70-g09d2