From e5492ea58f22c65f36e869b030badbb27626abd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Jun 2020 01:32:55 +0200 Subject: [PATCH] For templates from CMake, use the TDE CMAKE TEMPLATES variable. 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 aa77ec1c31f896684c20375ab55ff9cf32470f45) --- kicker/kicker/CMakeLists.txt | 2 +- klipper/CMakeLists.txt | 2 +- tdeioslave/remote/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kicker/kicker/CMakeLists.txt b/kicker/kicker/CMakeLists.txt index 1faa95c8f..c8b1e05b6 100644 --- a/kicker/kicker/CMakeLists.txt +++ b/kicker/kicker/CMakeLists.txt @@ -51,7 +51,7 @@ tde_add_executable( kicker-3.4-reverseLayout ##### kicker (tdeinit) ########################## -configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY ) +configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY ) tde_add_tdeinit_executable( kicker SOURCES dummy.cpp diff --git a/klipper/CMakeLists.txt b/klipper/CMakeLists.txt index 0ff5eb436..ee7b7cd6e 100644 --- a/klipper/CMakeLists.txt +++ b/klipper/CMakeLists.txt @@ -34,7 +34,7 @@ install( PROGRAMS klipper-1-2.pl klipper-trinity1.sh DESTINATION ${KCONF_UPDATE_ ##### klipper (executable) ###################### -configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY ) +configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY ) tde_add_tdeinit_executable( klipper AUTOMOC SOURCES dummy.cpp diff --git a/tdeioslave/remote/CMakeLists.txt b/tdeioslave/remote/CMakeLists.txt index 82e7c1fd1..d85b0ecfa 100644 --- a/tdeioslave/remote/CMakeLists.txt +++ b/tdeioslave/remote/CMakeLists.txt @@ -40,7 +40,7 @@ tde_add_library( ${target} STATIC_PIC AUTOMOC set( target tdeio_remote ) -configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY ) +configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY ) tde_add_kpart( ${target} SOURCES dummy.cpp