Fix various cmake build issues

pull/1/head
Slávek Banko 12 years ago
parent f425336eaf
commit 93dc872306

@ -32,9 +32,9 @@ install( FILES
DESTINATION ${SERVICES_INSTALL_DIR} )
##### kntsrcfilepropsdlg (module) ###############
##### libkntsrcfilepropsdlg (module) ###############
tde_add_kpart( kntsrcfilepropsdlg AUTOMOC
tde_add_kpart( libkntsrcfilepropsdlg AUTOMOC
SOURCES
kntsrcfilepropsdlg.cpp kntsrcfilepropsdlgwidget.ui
LINK knewstickercommon-static rss-shared

@ -39,7 +39,7 @@ install( PROGRAMS
##### kopete_account_kconf_update (executable) ##
tde_add_executable( kopete_account_kconf_update
tde_add_executable( "kopete-account-kconf_update"
SOURCES kopete-account-kconf_update.cpp
LINK ${TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
@ -48,7 +48,7 @@ tde_add_executable( kopete_account_kconf_update
##### kopete_pluginloader2_kconf_update (executable)
tde_add_executable( kopete_pluginloader2_kconf_update
tde_add_executable( "kopete-pluginloader2-kconf_update"
SOURCES kopete-pluginloader2.cpp
LINK ${TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
@ -57,7 +57,7 @@ tde_add_executable( kopete_pluginloader2_kconf_update
##### kopete_nameTracking_kconf_update (executable)
tde_add_executable( kopete_nameTracking_kconf_update
tde_add_executable( "kopete-nameTracking-kconf_update"
SOURCES kopete-nameTracking.cpp
LINK tdecore-shared
DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin

@ -49,7 +49,7 @@ install( FILES
kopetetransfermanager.h kopeteuiglobal.h kabcpersistence.h
managedconnectionaccount.h kopetenotifydataobject.h
kopeteversion.h kopeteprefs.h kopetepicture.h webcamwidget.h
kopetepluginmanager.h
kopetepluginmanager.h kopeteblacklister.h
DESTINATION ${INCLUDE_INSTALL_DIR}/kopete )

@ -40,7 +40,7 @@ tde_add_library( kopete_videodevice SHARED AUTOMOC
videocontrol.cpp videodevice.cpp videodevicemodelpool.cpp
videodevicepool.cpp videoinput.cpp bayer.cpp
sonix_compress.cpp
VERSION 1.0.0
VERSION 0.0.0
LINK tdecore-shared
DESTINATION ${LIB_INSTALL_DIR}
)

@ -35,8 +35,8 @@ install( FILES jabberdisco.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
tde_add_kpart( kio_jabberdisco AUTOMOC
SOURCES jabberdisco.cpp
LINK
jabberclient-static idn
jabberclient-static
iris_xmpp_core-static iris_xmpp_im-static iris_jabber-static iris-static
qca-static cutestuff_network-static cutestuff_util-static kio-shared
qca-static cutestuff_network-static cutestuff_util-static kio-shared idn
DESTINATION ${PLUGIN_INSTALL_DIR}
)

@ -35,9 +35,9 @@ link_directories(
install( FILES kopete_meanwhile.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
##### new_target0 (module) #######################
##### kopete_meanwhile (module) #######################
tde_add_kpart( new_target0 AUTOMOC
tde_add_kpart( kopete_meanwhile AUTOMOC
SOURCES
meanwhileprotocol.cpp meanwhileaddcontactpage.cpp
meanwhileeditaccountwidget.cpp meanwhileaccount.cpp

@ -20,4 +20,5 @@ tde_add_library( mimic STATIC_PIC
SOURCES
mimic.c encode.c decode.c bitstring.c vlc_common.c vlc_encode.c
vlc_decode.c fdct_quant.c idct_dequant.c colorspace.c deblock.c
LINK ${GLIB2_LIBRARIES}
)

@ -12,4 +12,4 @@
tde_auto_add_subdirectories( )
install( FILES TEMPLATE DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules )
install( PROGRAMS checkrules DESTINATION ${DATA_INSTALL_DIR} )
install( PROGRAMS checkrules DESTINATION ${DATA_INSTALL_DIR}/kppp/Rules )

@ -21,7 +21,9 @@ endif( )
# check for wireless tools
tde_save_and_set( CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-lm" )
check_library_exists( iw iw_get_stats "" HAVE_IW )
tde_restore( CMAKE_REQUIRED_FLAGS )
if( HAVE_IW )
check_include_file( iwlib.h HAVE_IWLIB_H )
# we need at least wireless tools >= 27

@ -33,5 +33,5 @@ tde_add_kpart( libkwireless AUTOMOC
kwireless.cpp kwirelesswidget.cpp linuxwirelesswidget.cpp
propertytablebase.ui propertytable.cpp
LINK tdeui-shared ${IW_LIBRARY}
DESTINATION ${PLUGIN_INSTALL_DIR}
DESTINATION ${LIB_INSTALL_DIR}
)

Loading…
Cancel
Save