summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2013-03-13 10:18:04 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2013-03-13 10:18:04 +0000
commit92b1e038c16be50d9b67d2bb72bb473ab8d2d753 (patch)
treeaf735c6cb88dee5f7c3f58ae3708dfefe5cb1d76 /CMakeLists.txt
parenta8c33ae2197f934ce6be79887f467f09add714a8 (diff)
[trunk] correct missing variable in openjpeg config file
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 483cc242..49da7c46 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -182,10 +182,11 @@ endif()
#-----------------------------------------------------------------------------
# opj_config.h generation
include (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
+CHECK_INCLUDE_FILE("stdint.h" OPJ_HAVE_STDINT_H)
+CHECK_INCLUDE_FILE("inttypes.h" OPJ_HAVE_INTTYPES_H)
+
CHECK_INCLUDE_FILE("strings.h" HAVE_STRINGS_H)
-CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE("memory.h" HAVE_MEMORY_H)
-CHECK_INCLUDE_FILE("stdint.h" OPJ_HAVE_STDINT_H)
CHECK_INCLUDE_FILE("stdlib.h" HAVE_STDLIB_H)
CHECK_INCLUDE_FILE("stdio.h" HAVE_STDIO_H)
CHECK_INCLUDE_FILE("string.h" HAVE_STRING_H)