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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 080c061b15)
v3.5.13-sru
Slávek Banko 4 years ago
parent 345f44fb93
commit d336392f8f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -66,7 +66,7 @@ tde_add_library( ${target} STATIC_PIC AUTOMOC
set( target libkatepart ) 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} tde_add_kpart( ${target}
SOURCES dummy.cpp SOURCES dummy.cpp

@ -157,7 +157,7 @@ tde_add_library( ${target} SHARED AUTOMOC
set( target kspell ) set( target kspell )
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 tde_add_library( ${target} SHARED
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp

@ -20,7 +20,7 @@ link_directories(
##### kjava ##################################### ##### 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 tde_add_library( kjava SHARED
SOURCES dummy.cpp SOURCES dummy.cpp

@ -60,7 +60,7 @@ install( FILES data.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
set( target kio ) set( target kio )
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 tde_add_library( ${target} SHARED
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp

Loading…
Cancel
Save