summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-10-14 01:48:04 +0200
committerSlávek Banko <[email protected]>2022-10-14 01:48:04 +0200
commita23b480df7305a396ef4233cd68f5a8a8f41c224 (patch)
tree6c2eb22c2f3f69cf4617391d5c7f808ae140b675
parent44ca8906fb50a79c27db62c34970747fc1c28158 (diff)
downloadtdegames-a23b480df7305a396ef4233cd68f5a8a8f41c224.tar.gz
tdegames-a23b480df7305a396ef4233cd68f5a8a8f41c224.zip
Use TDE dummy.cpp file for consistency with other packages.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--kbackgammon/engines/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbackgammon/engines/CMakeLists.txt b/kbackgammon/engines/CMakeLists.txt
index 6a4e4be2..7f33aa33 100644
--- a/kbackgammon/engines/CMakeLists.txt
+++ b/kbackgammon/engines/CMakeLists.txt
@@ -28,8 +28,6 @@ link_directories(
)
-file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" )
-
##### kbgengines (static) #######################
tde_add_library( kbgengines STATIC_PIC AUTOMOC
@@ -37,3 +35,5 @@ tde_add_library( kbgengines STATIC_PIC AUTOMOC
LINK kbgoffline-static kbggnubg-static kbggeneric-static kbgfibs-static
kbgnextgen-static
)
+
+configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )