The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15263 
====================================================================== 
Reported By:                Christian Ehrlicher
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15263
Category:                   Modules
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-11-25 01:58 EST
Last Modified:              2014-11-25 01:58 EST
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-11-25 01:58 Christian EhrlicherNew Issue                                   

======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to