In some setups (non-GCC compiler + no openjpeg2 + openjpeg installed, but openjpeg.pc missing + -DENABLE_CPP=NO), running cmake fails with: > CMake Error at cmake/modules/FindLIBOPENJPEG.cmake:41 (check_cxx_source_compiles): > Unknown CMake command "check_cxx_source_compiles". > Call Stack (most recent call first): > CMakeLists.txt:207 (find_package) Adding "include(CheckCXXSourceCompiles)" to cmake/modules/FindLIBOPENJPEG.cmake fixes this. Tested with Poppler 0.60.0. Full build log: https://api.travis-ci.org/jobs/282881123/log.txt
Fixed, take into account openjpeg1 support is going away in december
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.