For templates from CMake, use the TDE CMAKE TEMPLATES variable.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 158052fdb1)
r14.0.x
Slávek Banko 4 years ago
parent e846d2ea60
commit 7e6848ddd2
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -119,7 +119,7 @@ tde_add_library( kpovmodeler SHARED AUTOMOC
##### libkpovmodelerpart (module) ############### ##### 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 tde_add_kpart( libkpovmodelerpart AUTOMOC
SOURCES dummy.cpp SOURCES dummy.cpp

@ -29,7 +29,7 @@ link_directories(
##### ksvg (shared) ############################# ##### 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 tde_add_library( ksvg SHARED
SOURCES dummy.cpp SOURCES dummy.cpp

Loading…
Cancel
Save