From 5bc8572915f1ee271a02746a55a890f9a145315a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 14 Oct 2022 01:48:04 +0200 Subject: Use TDE dummy.cpp file for consistency with other packages. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit a23b480df7305a396ef4233cd68f5a8a8f41c224) --- 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 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 ) -- cgit v1.2.1