openjpeg/cmake
Alex Richardson c6ceb84c22 Make OpenJPEGConfig.cmake relocatable with CMake > 3.0
Using CMakePackageConfigHelpers, we can generate a relocatable
OpenJPEGConfig.config, using the PATH_VARS feature to make
CMAKE_INSTALL_LIBDIR relative to the installed location.
This change is needed for me when cross-compiling since
CMAKE_INSTALL_FULL_LIBDIR is a path inside the sysroot rather than
an absolute path to the actual includes. Without this change poppler
ends up passing a -I flag that does not exist.

This includes fallback code for CMake 2.8, which adds a bit of complexity,
since I'm not sure if raising the minimum to 3.0 (now over 8 years old)
is acceptable.
2022-08-11 12:13:18 +00:00
..
CTestCustom.cmake.in Ignore clang's summary warning 2016-05-02 12:55:43 +02:00
EnsureFileInclude.cmake Use lowercase for cmake commands consistenly 2016-05-02 16:05:41 +02:00
FindCPPCHECK.cmake [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
FindFCGI.cmake [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
FindJPYLYZER.cmake Add jpylyzer tests for JP2 compression 2015-07-30 01:27:34 +02:00
FindKAKADU.cmake Update kakadu cmake module 2014-02-07 10:37:06 +00:00
FindLCMS.cmake [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
FindLCMS2.cmake [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
JPIPTestDriver.cmake [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
OpenJPEGCPack.cmake [trunk] Requires CMake 2.8.2 at least 2012-10-01 14:18:20 +00:00
OpenJPEGConfig.cmake.in Make OpenJPEGConfig.cmake relocatable with CMake > 3.0 2022-08-11 12:13:18 +00:00
TestFileOffsetBits.c [trunk] Properly copy/paste code from the autotools 2014-03-27 15:07:58 +00:00
TestLargeFiles.c.cmake.in [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
TestLargeFiles.cmake Fix CMake warning when testing for LFS 2015-07-04 17:33:28 +02:00
TestWindowsFSeek.c [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00
openjpeg_valgrind.supp [trunk] Start FolderReorgProposal task 2012-09-28 08:11:41 +00:00