summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-05-03 19:30:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-05-03 19:30:09 +0200
commit6f43da1444c99d4cb9f69981543d21cfd843c622 (patch)
tree16b0302b651e1abe3ff7002abe3dcc4365f0d3a6
parent7f22a2d10cee5a4524a702757b8b950236209ed7 (diff)
downloadtdegames-6f43da1444c99d4cb9f69981543d21cfd843c622.tar.gz
tdegames-6f43da1444c99d4cb9f69981543d21cfd843c622.zip
cmake: Add libtdegames import
This fix splited build of tdegames Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-rw-r--r--ConfigureChecks.cmake37
1 files changed, 37 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 8420e006..ef5dffdf 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -61,3 +61,40 @@ endif( HAVE_SYS_TIME_H AND HAVE_TIME_H )
# required stuff
find_package( TQt )
find_package( TDE )
+
+##### Import libtdegames ########################
+# all games require libtdegames to be imported
+if( BUILD_ATLANTIK OR
+ BUILD_KASTEROIDS OR
+ BUILD_KATOMIC OR
+ BUILD_KBACKGAMMON OR
+ BUILD_KBATTLESHIP OR
+ BUILD_KBLACKBOX OR
+ BUILD_KBOUNCE OR
+ BUILD_KENOLABA OR
+ BUILD_KFOULEGGS OR
+ BUILD_KGOLDRUNNER OR
+ BUILD_KJUMPINGCUB OR
+ BUILD_KLICKETY OR
+ BUILD_KLINES OR
+ BUILD_KMAHJONGG OR
+ BUILD_KMINES OR
+ BUILD_KNETWALK OR
+ BUILD_KOLF OR
+ BUILD_KONQUEST OR
+ BUILD_KPAT OR
+ BUILD_KPOKER OR
+ BUILD_KREVERSI OR
+ BUILD_KSAME OR
+ BUILD_KSHISEN OR
+ BUILD_KSIRTET OR
+ BUILD_KSMILETRIS OR
+ BUILD_KSNAKE OR
+ BUILD_KSOKOBAN OR
+ BUILD_KSPACEDUEL OR
+ BUILD_KTRON OR
+ BUILD_KTUBERLING OR
+ BUILD_LSKAT OR
+ BUILD_TWIN4 )
+ tde_import ( libtdegames )
+endif()