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 15:16:24 +0200
commit412f55e671929ff8b9db41d6c3372306b05679e7 (patch)
treebae2f26844c989c9a7e9c196ba47760671de6d54
parenta7fa81fc2476907d75fc43caea3f327333b2ce25 (diff)
downloadtdelibs-412f55e671929ff8b9db41d6c3372306b05679e7.tar.gz
tdelibs-412f55e671929ff8b9db41d6c3372306b05679e7.zip
For templates from CMake, use the TDE CMAKE TEMPLATES variable.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 080c061b15cfcb11e26a2ede1c8082afb0c5d329)
-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 7d1e577fb..10d4088f7 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