[cmake-developers] [CMake 0014175]: SelectLibraryConfigurations.cmake fails on cached variable
Mantis Bug Tracker
mantis at public.kitware.com
Tue May 28 05:25:15 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14175
======================================================================
Reported By: Bjoern Thiel
Assigned To:
======================================================================
Project: CMake
Issue ID: 14175
Category: Modules
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-05-28 05:25 EDT
Last Modified: 2013-05-28 05:25 EDT
======================================================================
Summary: SelectLibraryConfigurations.cmake fails on cached
variable
Description:
In line 65
set( ${basename}_LIBRARY )
removes the normal variable,
but if the corresponding cached variable is present in line 67
list( APPEND ${basename}_LIBRARY optimized "${_libname}" )
uses that and fails.
To fix this replace line 65 with
set( ${basename}_LIBRARY "" )
Steps to Reproduce:
Use FindPythonLibs.cmake
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-05-28 05:25 Bjoern Thiel New Issue
======================================================================
More information about the cmake-developers
mailing list