CMake: Automatically detect OpenJPEG 2 libraries
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 30 Aug 2018 07:55:40 +0000 (09:55 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 30 Aug 2018 07:55:40 +0000 (09:55 +0200)
commit1fdde7892d99125e585f3eac92fb67973d5563ea
treeb284ebde966ccb2dc68ac4ab477d01f79a1df914
parent75b781fe8dfe221ba62730c734181c3c05e1aff2
CMake: Automatically detect OpenJPEG 2 libraries

There is chance that on a system with both versions installed this
*might* cause some issues. Such system will be pain to support out
of the box anyway.

This change allows to use precompiled libraries without extra
modifications in the config.
build_files/cmake/Modules/FindOpenJPEG.cmake