MantisBT - CMake
View Issue Details
0008321CMakeModulespublic2008-12-21 16:292016-06-10 14:30
Albert Astals Cid 
Kitware Robot 
normalfeatureN/A
closedmoved 
 
 
0008321: CMake module to detect libopenjpeg
It seems CMake does not have a module to detect libopenjpeg. So i'm contributing it. It's licensed under BSD but i can relicense if you want.

If you are interested in modules i think i have some around that are not in cvs, tellme and i'll open new bugs.
No tags attached.
? FindLIBOPENJPEG.cmake (1,279) 2008-12-21 16:29
https://public.kitware.com/Bug/file/1936/FindLIBOPENJPEG.cmake
? FindOpenJPEG.cmake (1,299) 2009-09-05 07:27
https://public.kitware.com/Bug/file/2437/FindOpenJPEG.cmake
Issue History
2008-12-21 16:29Albert Astals CidNew Issue
2008-12-21 16:29Albert Astals CidFile Added: FindLIBOPENJPEG.cmake
2009-01-15 13:00Bill HoffmanStatusnew => assigned
2009-01-15 13:00Bill HoffmanAssigned To => Philip Lowman
2009-01-19 23:23Philip LowmanSeverityminor => feature
2009-01-19 23:23Philip LowmanReproducibilityhave not tried => N/A
2009-09-05 07:27Mauro ToffaninNote Added: 0017312
2009-09-05 07:28Mauro ToffaninFile Added: FindOpenJPEG.cmake
2012-10-04 01:25Philip LowmanNote Added: 0031170
2012-10-04 01:25Philip LowmanAssigned ToPhilip Lowman =>
2012-10-04 01:25Philip LowmanStatusassigned => backlog
2016-06-10 14:27Kitware RobotNote Added: 0041485
2016-06-10 14:27Kitware RobotStatusbacklog => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:27Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0017312)
Mauro Toffanin   
2009-09-05 07:27   
The proposed module FindLIBOPENJPEG.cmake from user @tsdgeos is not valid:

1- it uses LIBOPENJPEG_LIBRARIES directly into FIND_LIBRARY;
2- redundant and useless IF/ELSE statements;
3- QUIET/REQUIRED is not honored;
4- redundant messages that can be avoid using proper find_package_handle_standard_args();
5- the name of the module must be FindOpenJPEG.cmake with the "LIB" prefix;
6- redundant /usr/lib and /usr/local/lib paths as they are default for find_library() and find_path();
7- missing paths for prebuild binaries (/opt path);

Attached there is a new FindOpenJPEG.cmake module that fixes all the reported issues and adds support for OSX. Hope to be usefull.
(0031170)
Philip Lowman   
2012-10-04 01:25   
Assigning this issue to the backlog. See the following page for more information about including modules in CMake:

http://www.cmake.org/Wiki/CMake:Module_Maintainers [^]
(0041485)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.