From 080c061b15cfcb11e26a2ede1c8082afb0c5d329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Jun 2020 01:32:04 +0200 Subject: 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 --- kate/part/CMakeLists.txt | 2 +- tdehtml/java/dummy/CMakeLists.txt | 2 +- tdeio/CMakeLists.txt | 2 +- tdeui/CMakeLists.txt | 2 +- 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 -- cgit v1.2.1