diff options
author | Slávek Banko <[email protected]> | 2020-06-12 01:34:21 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-12 15:21:43 +0200 |
commit | 7e6848ddd20dfe0288448fde2fc8e25a7c3e7074 (patch) | |
tree | e7e6f6b7fb2478e6aadd64fdd2c67949b5f52fd4 | |
parent | e846d2ea60245040ce1639060370172b6faf2c34 (diff) | |
download | tdegraphics-7e6848ddd20dfe0288448fde2fc8e25a7c3e7074.tar.gz tdegraphics-7e6848ddd20dfe0288448fde2fc8e25a7c3e7074.zip |
For templates from CMake, use the TDE CMAKE TEMPLATES variable.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 158052fdb17abbf0cdc428d129ea62c63058cfb4)
-rw-r--r-- | kpovmodeler/CMakeLists.txt | 2 | ||||
-rw-r--r-- | ksvg/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kpovmodeler/CMakeLists.txt b/kpovmodeler/CMakeLists.txt index 3011c6e9..f1f10b1f 100644 --- a/kpovmodeler/CMakeLists.txt +++ b/kpovmodeler/CMakeLists.txt @@ -119,7 +119,7 @@ tde_add_library( kpovmodeler SHARED AUTOMOC ##### libkpovmodelerpart (module) ############### -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( libkpovmodelerpart AUTOMOC SOURCES dummy.cpp diff --git a/ksvg/CMakeLists.txt b/ksvg/CMakeLists.txt index 3f1c88bc..ba7ae70a 100644 --- a/ksvg/CMakeLists.txt +++ b/ksvg/CMakeLists.txt @@ -29,7 +29,7 @@ link_directories( ##### ksvg (shared) ############################# -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( ksvg SHARED SOURCES dummy.cpp |