summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-09-17 08:12:58 +0200
committerGilles Caulier <[email protected]>2015-09-17 08:12:58 +0200
commit01f12b1ee20ec1abf4aee0cd0819f21f1374709d (patch)
treedfd5a58915046db5115d46483a9f3f13981a0e42
parent98a5d8295939cb90e81e9fdd720ef84bb6f29e10 (diff)
fix broken compilation : version header not found
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a848090..4239303 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2010-2014, Gilles Caulier, <caulier dot gilles at gmail dot com>
+# Copyright (c) 2010-2015, Gilles Caulier, <caulier dot gilles at gmail dot com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
@@ -89,7 +89,9 @@ ecm_setup_version(${LIBKGEOMAP_LIB_VERSION}
add_definitions(-DTRANSLATION_DOMAIN=\"libkgeomap\")
add_definitions(-DQT_USE_QSTRINGBUILDER -DQT_USE_FAST_OPERATOR_PLUS)
-include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
+include_directories(${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR})
add_subdirectory(data)
add_subdirectory(src)