summaryrefslogtreecommitdiffstats
path: root/kbackgammon
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-03-14 23:15:22 +0100
committerSlávek Banko <[email protected]>2016-03-14 23:15:34 +0100
commit018ba1b32282143bba449de3f3b50c0c73f5a49d (patch)
tree82d4e48e28148a762cef6e0e9be2f430ddaf0796 /kbackgammon
parent53ab503e1669768f14354c983ebdecd5ce39c29a (diff)
downloadtdegames-018ba1b32282143bba449de3f3b50c0c73f5a49d.tar.gz
tdegames-018ba1b32282143bba449de3f3b50c0c73f5a49d.zip
cmake: Create kbackgammon/engines/dummy.cpp outside source tree
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit d6b90e3453e8ebaa67cb450271fe154ee766557d)
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
)