Fix tdecore directories of linked libraries

pull/16/head
Slávek Banko 11 years ago
parent 8151a70801
commit 62ac96e110

@ -46,6 +46,8 @@ tde_setup_paths( )
tde_setup_architecture_flags( ) tde_setup_architecture_flags( )
find_package( TQt ) find_package( TQt )
list( APPEND TDECORE_LIBRARY_DIRS ${TQT_LIBRARY_DIRS} )
##### add apidox targets ############ ##### add apidox targets ############
@ -618,6 +620,7 @@ endif( WITH_XRANDR )
pkg_search_module( XRENDER xrender ) pkg_search_module( XRENDER xrender )
if( XRENDER_FOUND ) if( XRENDER_FOUND )
set( HAVE_XRENDER 1 ) set( HAVE_XRENDER 1 )
list( APPEND TDECORE_LIBRARY_DIRS ${XRENDER_LIBRARY_DIRS} )
else( XRENDER_FOUND) else( XRENDER_FOUND)
message(FATAL_ERROR "\nxrender support is required, but not found on your system" ) message(FATAL_ERROR "\nxrender support is required, but not found on your system" )
endif( XRENDER_FOUND ) endif( XRENDER_FOUND )
@ -713,6 +716,7 @@ if( WITH_LIBART )
message(FATAL_ERROR "\nlibart-2.0 support are requested, but not found on your system" ) message(FATAL_ERROR "\nlibart-2.0 support are requested, but not found on your system" )
endif( NOT LIBART_FOUND ) endif( NOT LIBART_FOUND )
set( HAVE_LIBART 1 ) set( HAVE_LIBART 1 )
list( APPEND TDECORE_LIBRARY_DIRS ${LIBART_LIBRARY_DIRS} )
endif( WITH_LIBART ) endif( WITH_LIBART )
@ -727,6 +731,7 @@ if( WITH_LIBIDN )
check_include_file( "idna.h" HAVE_IDNA_H ) check_include_file( "idna.h" HAVE_IDNA_H )
check_include_file( "punycode.h" HAVE_PUNYCODE_H ) check_include_file( "punycode.h" HAVE_PUNYCODE_H )
check_include_file( "stringprep.h" HAVE_STRINGPREP_H ) check_include_file( "stringprep.h" HAVE_STRINGPREP_H )
list( APPEND TDECORE_LIBRARY_DIRS ${LIBIDN_LIBRARY_DIRS} )
endif( WITH_LIBIDN ) endif( WITH_LIBIDN )
##### check for libbfq ########################## ##### check for libbfq ##########################
@ -865,6 +870,7 @@ if( DBUS_TQT_FOUND )
else() else()
tde_message_fatal( "dbus-1-tqt are required, but not found on your system" ) tde_message_fatal( "dbus-1-tqt are required, but not found on your system" )
endif( ) endif( )
list( APPEND TDECORE_LIBRARY_DIRS ${DBUS_TQT_LIBRARY_DIRS} )
if( WITH_NETWORK_MANAGER_BACKEND ) if( WITH_NETWORK_MANAGER_BACKEND )
@ -925,6 +931,7 @@ if( WITH_GAMIN )
pkg_search_module( GAMIN gamin ) pkg_search_module( GAMIN gamin )
if( GAMIN_FOUND ) if( GAMIN_FOUND )
set( HAVE_FAM 1 ) set( HAVE_FAM 1 )
list( APPEND TDECORE_LIBRARY_DIRS ${GAMIN_LIBRARY_DIRS} )
else( GAMIN_FOUND ) else( GAMIN_FOUND )
message(FATAL_ERROR "\nfam/gamin support was requested, but gamin was not found on your system" ) message(FATAL_ERROR "\nfam/gamin support was requested, but gamin was not found on your system" )
endif( GAMIN_FOUND ) endif( GAMIN_FOUND )

@ -19,7 +19,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )
##### headers ################################### ##### headers ###################################

@ -23,7 +23,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -19,7 +19,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -19,7 +19,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
${LIBPCRE_LIBDIR} ${LIBPCRE_LIBDIR}
) )

@ -18,7 +18,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -20,7 +20,7 @@ include_directories(
list( REMOVE_ITEM CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" ) list( REMOVE_ITEM CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -27,8 +27,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
${LIBART_LIBRARY_DIRS}
) )

@ -20,7 +20,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -16,7 +16,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -37,10 +37,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
${LIBIDN_LIBRARY_DIRS}
${GAMIN_LIBDIR}
${LIBART_LIBRARY_DIRS}
) )
##### headers ################################### ##### headers ###################################

@ -16,7 +16,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -25,7 +25,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -39,7 +39,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -18,7 +18,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -17,7 +17,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -21,7 +21,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -19,7 +19,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
${LIBR_LIBDIR} ${LIBR_LIBDIR}
) )

@ -18,7 +18,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -22,7 +22,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -16,7 +16,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )
##### kinstalltheme ############################# ##### kinstalltheme #############################

@ -18,7 +18,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -32,7 +32,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -19,7 +19,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -17,7 +17,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -19,7 +19,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -18,7 +18,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

@ -28,7 +28,7 @@ include_directories(
) )
link_directories( link_directories(
${TQT_LIBRARY_DIRS} ${TDECORE_LIBRARY_DIRS}
) )

Loading…
Cancel
Save