[cmake-developers] [CMake 0014393]: FindwxWidgets.cmake doesn't look for x64 wxWidgets (MSVC) directories.
Mantis Bug Tracker
mantis at public.kitware.com
Mon Sep 9 18:32:22 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14393
======================================================================
Reported By: tss
Assigned To:
======================================================================
Project: CMake
Issue ID: 14393
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-09-09 18:32 EDT
Last Modified: 2013-09-09 18:32 EDT
======================================================================
Summary: FindwxWidgets.cmake doesn't look for x64 wxWidgets
(MSVC) directories.
Description:
When compiling the 64 bit version of wxWidgets using nmake the library folders
become vc_x64_lib and vc_x64_dll and can coexist with the win32 version.
A simple fix is to adjust the WX_LIB_DIR_PREFIX.
- set(WX_LIB_DIR_PREFIX vc)
+ if(CMAKE_CL_64)
+ set(WX_LIB_DIR_PREFIX vc_x64)
+ else()
+ set(WX_LIB_DIR_PREFIX vc)
+ endif()
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-09-09 18:32 tss New Issue
2013-09-09 18:32 tss File Added: x64 fix.patch
======================================================================
More information about the cmake-developers
mailing list