From fb74d787f16652987a6376ecb77a67d01b7325ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Jun 2015 02:38:01 +0200 Subject: [PATCH] Add include directory for internal libltdl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit dfd680030c18adaa4f299a4092d9ac6d5945cadc) --- CMakeLists.txt | 4 +++- kinit/CMakeLists.txt | 1 + kio/kio/CMakeLists.txt | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7013f8adf..bc23c12b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,10 +140,12 @@ endif( NO_BUILTIN ) ##### system checks ############################# +tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libltdl ) check_include_file( "ltdl.h" HAVE_LTDL_H ) if( NOT HAVE_LTDL_H ) - tde_message_fatal( "ltdl.h are required, but not found on your system" ) + tde_message_fatal( "ltdl.h is required, but not found on your system" ) endif( ) +tde_restore( CMAKE_REQUIRED_INCLUDES ) check_include_file( "alloca.h" HAVE_ALLOCA_H ) check_include_file( "arpa/nameser8_compat.h" HAVE_ARPA_NAMESER8_COMPAT_H ) diff --git a/kinit/CMakeLists.txt b/kinit/CMakeLists.txt index db4da097a..c21282182 100644 --- a/kinit/CMakeLists.txt +++ b/kinit/CMakeLists.txt @@ -17,6 +17,7 @@ include_directories( ${CMAKE_BINARY_DIR}/kdecore ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/libltdl ${CMAKE_SOURCE_DIR}/kdecore ${CMAKE_SOURCE_DIR}/kdeui ${CMAKE_SOURCE_DIR}/kio diff --git a/kio/kio/CMakeLists.txt b/kio/kio/CMakeLists.txt index 6a1726315..f1053b703 100644 --- a/kio/kio/CMakeLists.txt +++ b/kio/kio/CMakeLists.txt @@ -18,6 +18,7 @@ include_directories( ${CMAKE_BINARY_DIR}/kdecore ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/libltdl ${CMAKE_SOURCE_DIR}/kdecore ${CMAKE_SOURCE_DIR}/kdecore/network ${CMAKE_SOURCE_DIR}/kdeui