summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-11 02:38:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-11 02:38:01 +0200
commitdfd680030c18adaa4f299a4092d9ac6d5945cadc (patch)
tree22db8707f01b1cec30085dd089c0ff4be72e7c1c /CMakeLists.txt
parent8b1fec8a6b25dd0502950488fdb6054b5f8c9208 (diff)
downloadtdelibs-dfd680030c18adaa4f299a4092d9ac6d5945cadc.tar.gz
tdelibs-dfd680030c18adaa4f299a4092d9ac6d5945cadc.zip
Add include directory for internal libltdl
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8f384b6f..5a0184166 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,10 +153,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 )