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