From d6b90e3453e8ebaa67cb450271fe154ee766557d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 14 Mar 2016 23:15:22 +0100 Subject: cmake: Create kbackgammon/engines/dummy.cpp outside source tree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kbackgammon/engines/CMakeLists.txt | 4 ++-- 1 file 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 ) -- cgit v1.2.1