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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/87/head
Slávek Banko 5 years ago
parent 373a14a137
commit 080c061b15
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 )
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

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

@ -88,7 +88,7 @@ endif( HAVE_ELFICON )
set( target tdeio )
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
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp

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

Loading…
Cancel
Save