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:25 +0200
commit5bc8572915f1ee271a02746a55a890f9a145315a (patch)
tree1d08364c9a2c21ccc9fc43de132576b6507c47b7
parent5f38079834bdd19d43c065fa55a8065cb6ec0fee (diff)
downloadtdegames-r14.0.x.tar.gz
tdegames-r14.0.x.zip
Use TDE dummy.cpp file for consistency with other packages.r14.0.13r14.0.x
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a23b480df7305a396ef4233cd68f5a8a8f41c224)
-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 )