summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()