diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d8cd1fc..86b34bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ if (WITH_QT4 AND WITH_QT5) endif (WITH_QT4 AND WITH_QT5) include (CheckIncludeFile) +include (CheckIncludeFiles) find_package(LibXml2 REQUIRED) find_package(LibMagic REQUIRED) @@ -130,7 +131,7 @@ endif (WITH_GSM) check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(linux/types.h HAVE_LINUX_TYPES_H) -check_include_file(linux/errqueue.h HAVE_LINUX_ERRQUEUE_H) +check_include_files("sys/time.h;linux/errqueue.h" HAVE_LINUX_ERRQUEUE_H) set(datadir "${CMAKE_INSTALL_PREFIX}/share/twinkle") configure_file(twinkle_config.h.in twinkle_config.h) |