diff options
author | Alexander Golubev <[email protected]> | 2016-05-03 19:30:09 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-05-03 19:30:26 +0200 |
commit | 1702df5995cab852fc8ac243c1910ebdcf6b00c2 (patch) | |
tree | 656377b84a5c8a9d9487f640e56ca0480bf33cec | |
parent | cdc0dabf8c8773b402d6b762fafd74722b13c6b9 (diff) | |
download | tdegames-1702df5995cab852fc8ac243c1910ebdcf6b00c2.tar.gz tdegames-1702df5995cab852fc8ac243c1910ebdcf6b00c2.zip |
cmake: Add libtdegames import
This fix splited build of tdegames
Signed-off-by: Alexander Golubev <[email protected]>
(cherry picked from commit 6f43da1444c99d4cb9f69981543d21cfd843c622)
-rw-r--r-- | ConfigureChecks.cmake | 37 |
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() |