[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/games
From: Stefan Majewsky <majewsky () gmx ! net>
Date: 2012-02-20 20:19:13
Message-ID: 20120220201913.3A677AC895 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1281259 by majewsky:
fix build when libkdegames is not installed
M +4 -4 CMakeLists.txt
--- trunk/playground/games/CMakeLists.txt #1281258:1281259
@@ -68,13 +68,13 @@
macro_log_feature(KGL_FOUND "KGLEngine" "Graphics engine from the Gluon framework - \
used by KTank" "http://gitorious.org/gluon" FALSE "")
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
-include_directories(${CMAKE_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}
- ${KDE4_INCLUDES}
- ${KDEGAMES_INCLUDE_DIRS}
+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+if (KDEGAMES_FOUND)
+ include_directories(${KDEGAMES_INCLUDE_DIRS}
${KDEGAMES_INCLUDE_DIR}/highscore/
${KDEGAMES_INCLUDE_DIR}/kgame/
)
+endif (KDEGAMES_FOUND)
macro_optional_add_subdirectory(doc)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic