summaryrefslogtreecommitdiff
path: root/thirdparty/CMakeLists.txt
AgeCommit message (Collapse)Author
2022-06-27Build: fix linking of executables on some systems where TIFF/LCMS2 static ↵Even Rouault
libraries are not in system directories (fixes #1430) Note that the fix might be partial only for static-only builds (cf comments) Ammends PR #866 and #867
2021-01-04thirdparty: lcms2: append flags found by pkg-config if availablePeter Seiderer
This change allows to get all required CFLAGS/LDFLAGS in case of static only build. Fixes a buildroot build failure (see [1], [2] and [3]). [1] http://autobuild.buildroot.net/results/5ce/5cee20afd8bef5268832cddcb3a5270746be7a57 [2] http://lists.busybox.net/pipermail/buildroot/2016-November/177187.html [3] http://lists.busybox.net/pipermail/buildroot/2016-November/177188.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> --- Depends on https://github.com/uclouvain/openjpeg/pull/866
2021-01-04Merge pull request #866 from tSed/masterEven Rouault
fix static build only against tiff and its indirect dependencies
2021-01-04CMakeLists.txt: Don't require a C++ compilerPeter Korsgaard
By default, CMake assumes that the project is using both C and C++. By explicitly passing 'C' as argument of the project() macro, we tell CMake that only C is used, which prevents CMake from erroring out if a C++ compiler doesn't exist. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [Retrieved (and slightly updated by adding enable_language(CXX) if WITH_ASTYLE is set) from: https://git.buildroot.net/buildroot/tree/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch] Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-05-09Add mechanisms to reformant and check code style (#128)Even Rouault
Use an internal version of astyle (astyle 3.0). Scripts taken from QGIS. astyle.options from https://github.com/uclouvain/openjpeg/issues/128 scripts/prepare-commit.sh can be used locally to automatically reformat edited files. Travis-CI will run scripts/verify-indentation.sh to verify committed files.
2016-11-06thirdparty: tiff: append flags found by pkg-config if availableSamuel Martin
This change allows to get all required CFLAGS/LDFLAGS in case of static only build. This build issue [1] was triggered by the Buildroot farms. [1] http://autobuild.buildroot.net/results/d0d/d0d22727311d6300e0e400728126170407bfd699/build-end.log Signed-off-by: Samuel Martin <s.martin49@gmail.com>
2016-05-02Use lowercase for cmake commands consistenlyJulien Malik
Inspired from https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt This needs vim 7.3 and fails with vim 7.4 This also fixes a number of : - missing empty line at end of files - useless space at end of lines
2014-04-02[trunk] removed debug message in CMakeLists.txtAntonin Descampe
2013-03-17[trunk] use everywhere the new opj_ prefix for HAVE variables and use the ↵Mickael Savinaud
opj_apps_config file (thanks to winfried)
2012-08-30[trunk] Remove CMake-language block-end command argumentsMickael Savinaud
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Thanks to Hans Johnson
2012-03-19[trunk] add debug statement for Win7-VS2008-32bits-trunk-Debug-OSGeo4WMathieu Malaterre
2012-03-12[trunk] Update libtiff to 4.0.1 to support BigTIFF. openjpeg/tiff 4.0.1 ↵Mathieu Malaterre
currently builds on linux/x86_64 and linux/mingw32.
2012-03-02[trunk] import JPIP modifications for build-system from 1.5Mathieu Malaterre
2011-11-24Avoid message pollution during cmake configuration timeMathieu Malaterre
2011-08-12added cmake support to openjpipAntonin Descampe
2011-08-11Fixed issue #76 (trunk)Mickael Savinaud
2011-07-22correct some troubles about thirdparty when they are usedMickael Savinaud
2011-07-21add new decode tests based on conformance data and tolerance. Non regression ↵Mickael Savinaud
is also added on the decoder output. Deactivate old tests.
2011-07-21removed unused warning configuration messageMickael Savinaud
2011-07-13improved some CMakeLists files linked to the build of applications which ↵Mickael Savinaud
used thirdparty
2011-03-20Removed the libs directory containing win32 compiled versions of libpng, ↵Antonin Descampe
libtiff and liblcms. Added a thirdparty directory to include main source files of libtiff, libpng, libz and liblcms to enable support of these formats in the codec executables. CMake will try to statically build these libraries if they are not found on the system. Note that these third party libraries are not required to build libopenjpeg (which has no dependencies).