summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-14 22:15:22 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-03-14 22:15:22 (GMT)
commitd6b90e3453e8ebaa67cb450271fe154ee766557d (patch)
tree29b898719670337236bb0c6154dcde39bbc9d679
parent426706c6d174dad21cc1eeaf238b6cad2ac65eba (diff)
downloadtdegames-d6b90e34.zip
tdegames-d6b90e34.tar.gz
cmake: Create kbackgammon/engines/dummy.cpp outside source tree
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 3497c6b..6a4e4be 100644
--- a/kbackgammon/engines/CMakeLists.txt
+++ b/kbackgammon/engines/CMakeLists.txt
@@ -28,12 +28,12 @@ link_directories(
)
-file( WRITE dummy.cpp "" )
+file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" )
##### kbgengines (static) #######################
tde_add_library( kbgengines STATIC_PIC AUTOMOC
- SOURCES dummy.cpp
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
LINK kbgoffline-static kbggnubg-static kbggeneric-static kbgfibs-static
kbgnextgen-static
)