[cmake-developers] [CMake 0014783]: nightly build problem with findwxWidgets

Mantis Bug Tracker mantis at public.kitware.com
Mon Mar 3 06:04:10 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14783 
====================================================================== 
Reported By:                philrosenberg
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14783
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-03 06:04 EST
Last Modified:              2014-03-03 06:04 EST
====================================================================== 
Summary:                    nightly build problem with findwxWidgets
Description: 
Hi
I previously reported a bug with the findwxWidgets module where CMake never
found the 64 bit version of wxWidgets on Windows -
http://www.cmake.org/Bug/view.php?id=14642
I notice in the latest nightly build that some changes have been made to try to
fix this. However, now if I use the 32 bit Visual Studio generator I get the 64
bit version of wxWidgets, so the problem is now reversed - i.e. CMake always
finds the 64 bit version even when it should find the 32 bit version.

To fix this you can use if( ${CMAKE_GENERATOR} MATCHES "Win64$" ) to set the 64
bit prefix, rather than if(CMAKE_CL_64)

Phil
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-03 06:04 philrosenberg  New Issue                                    
======================================================================



More information about the cmake-developers mailing list