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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aa77ec1c31)
pull/182/head
Slávek Banko 4 years ago
parent b65984c864
commit e5492ea58f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -51,7 +51,7 @@ tde_add_executable( kicker-3.4-reverseLayout
##### kicker (tdeinit) ##########################
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_tdeinit_executable( kicker
SOURCES dummy.cpp

@ -34,7 +34,7 @@ install( PROGRAMS klipper-1-2.pl klipper-trinity1.sh DESTINATION ${KCONF_UPDATE_
##### klipper (executable) ######################
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_tdeinit_executable( klipper AUTOMOC
SOURCES dummy.cpp

@ -40,7 +40,7 @@ tde_add_library( ${target} STATIC_PIC AUTOMOC
set( target tdeio_remote )
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

Loading…
Cancel
Save