summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-12 01:32:55 +0200
committerSlávek Banko <[email protected]>2020-06-12 15:18:56 +0200
commite5492ea58f22c65f36e869b030badbb27626abd6 (patch)
tree60ef41804c09d214c1082769473c80bff9ac3fa0
parentb65984c864f9e07dfc53b8448139eb2cd2b5cfd4 (diff)
downloadtdebase-e5492ea58f22c65f36e869b030badbb27626abd6.tar.gz
tdebase-e5492ea58f22c65f36e869b030badbb27626abd6.zip
For templates from CMake, use the TDE CMAKE TEMPLATES variable.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit aa77ec1c31f896684c20375ab55ff9cf32470f45)
-rw-r--r--kicker/kicker/CMakeLists.txt2
-rw-r--r--klipper/CMakeLists.txt2
-rw-r--r--tdeioslave/remote/CMakeLists.txt2
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