Move include directories a bit down below

Better to follow the CMake logic and se those near the
sources

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
Tomaz Canabrava 2015-11-17 19:22:02 -02:00 committed by Dirk Hohndel
parent 957f5532b8
commit 6948859678

View file

@ -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)