[cmake-developers] [CMake 0014443]: FindwxWidgets reports incorrect debug definitions

Mantis Bug Tracker mantis at public.kitware.com
Thu Sep 26 16:46:00 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14443 
====================================================================== 
Reported By:                philrosenberg
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14443
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-09-26 16:45 EDT
Last Modified:              2013-09-26 16:45 EDT
====================================================================== 
Summary:                    FindwxWidgets reports incorrect debug definitions
Description: 
On Windows FindwxWidgets fills wxWidgets_DEFINITIONS_DEBUG with _DEBUG;
__WXDEBUG__ even when wxWidgets_CONFIGURATION does not include a d, i.e. it is
not a debug configuration.
On linux wxWidgets_DEFINITIONS_DEBUG is only filled for a debug configuration so
the behaviour needs to be made the same on both systems.

Steps to Reproduce: 
Behaviour was discovered when building PLplot. The devs have just implemented a
workaround but any version dated 25th Sep 2013 or before shows this problem
which causes linker errors
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-09-26 16:45 philrosenberg  New Issue                                    
======================================================================




More information about the cmake-developers mailing list