From kde-commits Wed May 16 14:40:19 2012 From: David Faure Date: Wed, 16 May 2012 14:40:19 +0000 To: kde-commits Subject: KDE/kdegames Message-Id: <20120516144019.9A954AC76E () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=133717937924137 SVN commit 1295123 by dfaure: fix compilation with srcdir != builddir M +1 -1 CMakeLists.txt --- trunk/KDE/kdegames/CMakeLists.txt #1295122:1295123 @@ -33,7 +33,7 @@ add_definitions (-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) include_directories ( ${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) # add the includes for libkdegames and the fwd headers, available for all the applications -include_directories(${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/audio ${CMAKE_SOURCE_DIR}/libkdegames/includes) +include_directories(${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_BINARY_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/audio ${CMAKE_SOURCE_DIR}/libkdegames/includes) set(HIGHSCORE_DIRECTORY "" CACHE STRING "Where to install system-wide highscores e.g. /var/games") add_subdirectory(libkdegames)