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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/24/head
Slávek Banko 5 years ago
parent dda4ffa9ac
commit 158052fdb1
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) ###############
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

@ -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

Loading…
Cancel
Save