View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015263 | CMake | Modules | public | 2014-11-25 01:58 | 2016-06-10 14:31 | ||||
Reporter | Christian Ehrlicher | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Windows | OS | Win32 | OS Version | 7 | ||||
Product Version | CMake 3.0.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015263: FindOSG/FindOpenThreads does not work when only debug libraries are installed | ||||||||
Description | When only the Debug versions of OSG/OpenThreads libraries are installed, cmake is unable to find the libraries. The problem is, that Findosg_functions.cmake only add the debug library to '${module_uc}_LIBRARIES' but later on FIND_PACKAGE_HANDLE_STANDARD_ARGS() is called with '${module_uc}_LIBRARY' which is only filled when the release version of OSG is found. Simple fix: change '${module_uc}_LIBRARY' to '${module_uc}_LIBRARIES' in the FPHSA - call and all is working as expected. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037277) Brad King (manager) 2014-11-25 09:42 |
See 0015121 and 0015121:0036895. |
(0037291) Christian Ehrlicher (reporter) 2014-11-26 08:07 |
0015121 is not related to this bug. My problem only occours when I try to search the debug libraries of osg (and there are not release ones) |
(0037295) Brad King (manager) 2014-11-26 09:52 |
Re 0015263:0037291: The point is that this module has no active maintainer, and that the upstream OSG should be providing cmake packaging files itself since it is built with CMake. If the latter were done then CMake would not even need a find module for it except to support older versions. The FindQt4 module supports <name>_LIBRARY_DEBUG and <name>_LIBRARY_RELEASE variables that are then used to set <name>_LIBRARY based on whether one or both of the config-specific libraries are found. Something similar could be done here too, but would not be necessary if the upstream packaged for CMake correctly as mentioned in 0015121:0036895. |
(0042674) Kitware Robot (administrator) 2016-06-10 14:29 |
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. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-11-25 01:58 | Christian Ehrlicher | New Issue | |
2014-11-25 09:42 | Brad King | Note Added: 0037277 | |
2014-11-26 08:07 | Christian Ehrlicher | Note Added: 0037291 | |
2014-11-26 09:52 | Brad King | Note Added: 0037295 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042674 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |