cmake: Add libtdegames import

This fix splited build of tdegames

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
pull/1/head
Alexander Golubev 9 years ago committed by Slávek Banko
parent 7f22a2d10c
commit 6f43da1444

@ -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()

Loading…
Cancel
Save