summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-03-02 11:56:59 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-03-02 11:56:59 +0000
commit4fc29039d120ebe3e1f8d3c8bcfb741e42870fbc (patch)
tree5120cd9c2af8526f2d944074dff13c6d61ae0fa3 /CMakeLists.txt
parent2d14f9f42b3f750d42e33297b49cd06b16de01a0 (diff)
downloadpcre-4fc29039d120ebe3e1f8d3c8bcfb741e42870fbc.tar.gz
Ensure CMake checks for inttypes.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@495 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44e119f..1ef165e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,6 +36,7 @@
# 2009-04-11 PH applied Christian Ehrlicher's patch to show compiler flags that
# are set by specifying a release type.
# 2010-01-02 PH added test for stdint.h
+# 2010-03-02 PH addes test for inttypes.h
PROJECT(PCRE C CXX)
@@ -57,6 +58,7 @@ INCLUDE(CheckTypeSize)
CHECK_INCLUDE_FILE(dirent.h HAVE_DIRENT_H)
CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H)
+CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H)
CHECK_INCLUDE_FILE(sys/types.h HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H)