summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-12 01:32:04 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 14:14:08 +0200
commit080c061b15cfcb11e26a2ede1c8082afb0c5d329 (patch)
treefbb501d66a674c5a304f3cb1928eaafd3e51cc15
parent373a14a13718e1d454cd7bb73088c8b9c65a4c34 (diff)
downloadtdelibs-080c061b15cfcb11e26a2ede1c8082afb0c5d329.tar.gz
tdelibs-080c061b15cfcb11e26a2ede1c8082afb0c5d329.zip
For templates from CMake, use the TDE CMAKE TEMPLATES variable.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kate/part/CMakeLists.txt2
-rw-r--r--tdehtml/java/dummy/CMakeLists.txt2
-rw-r--r--tdeio/CMakeLists.txt2
-rw-r--r--tdeui/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/kate/part/CMakeLists.txt b/kate/part/CMakeLists.txt
index a9c6b6b46..c363fdb35 100644
--- a/kate/part/CMakeLists.txt
+++ b/kate/part/CMakeLists.txt
@@ -66,7 +66,7 @@ tde_add_library( ${target} STATIC_PIC AUTOMOC
set( target libkatepart )
-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
diff --git a/tdehtml/java/dummy/CMakeLists.txt b/tdehtml/java/dummy/CMakeLists.txt
index 5828f4b83..0023a6b69 100644
--- a/tdehtml/java/dummy/CMakeLists.txt
+++ b/tdehtml/java/dummy/CMakeLists.txt
@@ -20,7 +20,7 @@ link_directories(
##### kjava #####################################
-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_library( kjava SHARED
SOURCES dummy.cpp
diff --git a/tdeio/CMakeLists.txt b/tdeio/CMakeLists.txt
index d14839cca..103a67fb7 100644
--- a/tdeio/CMakeLists.txt
+++ b/tdeio/CMakeLists.txt
@@ -88,7 +88,7 @@ endif( HAVE_ELFICON )
set( target tdeio )
-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_library( ${target} SHARED
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
diff --git a/tdeui/CMakeLists.txt b/tdeui/CMakeLists.txt
index 7e472788d..829971e00 100644
--- a/tdeui/CMakeLists.txt
+++ b/tdeui/CMakeLists.txt
@@ -157,7 +157,7 @@ tde_add_library( ${target} SHARED AUTOMOC
set( target tdespell )
-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_library( ${target} SHARED
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp