summaryrefslogtreecommitdiff
path: root/third_party/libopenjpeg20/opj_config.h.cmake.in
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-17 17:17:14 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-17 17:17:14 -0700
commitc7a17bf9cdb0d646aa8b653e6ab2678a1837ed6a (patch)
treea63eadd4ebea416b8a400f1fc7e3d103c665a0e4 /third_party/libopenjpeg20/opj_config.h.cmake.in
parentff8347a4b16f000be628c5e10d03a1e1c17537eb (diff)
downloadpdfium-c7a17bf9cdb0d646aa8b653e6ab2678a1837ed6a.tar.xz
Move libopenjpeg to third_party/
We get to delete a whole bunch of fx_foo.c files that did nothing but #include "foo.c" after defining _CRT_SECURE_NO_WARNINGS. Do this from the .gyp/.gn files instead. Also sort some "config"s in .gn file. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1185373010.
Diffstat (limited to 'third_party/libopenjpeg20/opj_config.h.cmake.in')
-rw-r--r--third_party/libopenjpeg20/opj_config.h.cmake.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/libopenjpeg20/opj_config.h.cmake.in b/third_party/libopenjpeg20/opj_config.h.cmake.in
new file mode 100644
index 0000000000..5f762ca3da
--- /dev/null
+++ b/third_party/libopenjpeg20/opj_config.h.cmake.in
@@ -0,0 +1,10 @@
+/* create opj_config.h for CMake */
+#cmakedefine OPJ_HAVE_STDINT_H @OPJ_HAVE_STDINT_H@
+
+/*--------------------------------------------------------------------------*/
+/* OpenJPEG Versioning */
+
+/* Version number. */
+#define OPJ_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@
+#define OPJ_VERSION_MINOR @OPENJPEG_VERSION_MINOR@
+#define OPJ_VERSION_BUILD @OPENJPEG_VERSION_BUILD@