Use TDE dummy.cpp file for consistency with other packages.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d02884d840)
r14.0.x r14.0.13
Slávek Banko 2 years ago
parent ba611a1d3e
commit 50ca1633e6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -53,7 +53,7 @@ tde_add_kpart( libkaboodlepart AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR}
)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp "" )
configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
##### kaboodle (executable) #####################

@ -37,7 +37,7 @@ link_directories(
##### mpeg-lib (library) ########################
tde_add_library( mpeg SHARED
SOURCES dummy.cpp
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
RELEASE ${MPEGLIB_VERSION}
EMBED
mpeg_mpgplayer-static
@ -66,3 +66,5 @@ tde_add_library( mpeg SHARED
pthread
DESTINATION ${LIB_INSTALL_DIR}
)
configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )

@ -23,6 +23,8 @@ THIS_EXTRALIBS = mpgplayer/libmpgplayer.la \
frame/libframe.la \
yuv/libyuvPlugin.la
dummy.cpp:
echo > dummy.cpp
lib_LTLIBRARIES = libmpeg.la

@ -1,6 +0,0 @@
static int dummy() {
return 0;
}

@ -53,7 +53,7 @@ tde_add_kpart( libtdemidpart AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR}
)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/part_dummy.cpp "" )
configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake part_dummy.cpp COPYONLY )
##### tdemid (executable) #######################

Loading…
Cancel
Save