summaryrefslogtreecommitdiffstats
path: root/kbackgammon
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-14 23:15:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-14 23:15:22 +0100
commitd6b90e3453e8ebaa67cb450271fe154ee766557d (patch)
tree29b898719670337236bb0c6154dcde39bbc9d679 /kbackgammon
parent426706c6d174dad21cc1eeaf238b6cad2ac65eba (diff)
downloadtdegames-d6b90e3453e8ebaa67cb450271fe154ee766557d.tar.gz
tdegames-d6b90e3453e8ebaa67cb450271fe154ee766557d.zip
cmake: Create kbackgammon/engines/dummy.cpp outside source tree
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kbackgammon')
-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 3497c6bd..6a4e4be2 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
)