diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-01-21 09:42:10 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-23 02:22:37 +0100 |
commit | c19a10f20f5162ed151cef4bb6c826a91a282886 (patch) | |
tree | cc9f36e596323c20c7c31fa2d3c7a1f0afcb68f2 /CMakeLists.txt | |
parent | aad1d85a5e8032a7da40d301f13b615a24bfcf28 (diff) | |
download | tdelibs-c19a10f20f5162ed151cef4bb6c826a91a282886.tar.gz tdelibs-c19a10f20f5162ed151cef4bb6c826a91a282886.zip |
Fix tdecore directories of linked libraries
(cherry picked from commit 62ac96e110e21c0289e890b6e2a824b61d5cb055)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b19e0e37..e8b2ff73b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,8 @@ tde_setup_paths( ) tde_setup_architecture_flags( ) find_package( TQt ) +list( APPEND TDECORE_LIBRARY_DIRS ${TQT_LIBRARY_DIRS} ) + ##### add apidox targets ############ @@ -607,6 +609,7 @@ endif( WITH_XRANDR ) pkg_search_module( XRENDER xrender ) if( XRENDER_FOUND ) set( HAVE_XRENDER 1 ) + list( APPEND TDECORE_LIBRARY_DIRS ${XRENDER_LIBRARY_DIRS} ) else( XRENDER_FOUND) message(FATAL_ERROR "\nxrender support is required, but not found on your system" ) endif( XRENDER_FOUND ) @@ -702,6 +705,7 @@ if( WITH_LIBART ) message(FATAL_ERROR "\nlibart-2.0 support are requested, but not found on your system" ) endif( NOT LIBART_FOUND ) set( HAVE_LIBART 1 ) + list( APPEND TDECORE_LIBRARY_DIRS ${LIBART_LIBRARY_DIRS} ) endif( WITH_LIBART ) @@ -716,6 +720,7 @@ if( WITH_LIBIDN ) check_include_file( "idna.h" HAVE_IDNA_H ) check_include_file( "punycode.h" HAVE_PUNYCODE_H ) check_include_file( "stringprep.h" HAVE_STRINGPREP_H ) + list( APPEND TDECORE_LIBRARY_DIRS ${LIBIDN_LIBRARY_DIRS} ) endif( WITH_LIBIDN ) ##### check for libbfq ########################## @@ -849,6 +854,7 @@ if( WITH_GAMIN ) pkg_search_module( GAMIN gamin ) if( GAMIN_FOUND ) set( HAVE_FAM 1 ) + list( APPEND TDECORE_LIBRARY_DIRS ${GAMIN_LIBRARY_DIRS} ) else( GAMIN_FOUND ) message(FATAL_ERROR "\nfam/gamin support was requested, but gamin was not found on your system" ) endif( GAMIN_FOUND ) |