MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006478 | CMake | CCMake | public | 2008-02-29 02:24 | 2008-06-16 14:28 |
Reporter | Werner | ||||
Assigned To | Miguel Figueroa | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0006478: Modul FindwxWidgets.cmake doesn't work with MinGW/native Windows CLI | ||||
Description | If MinGW is used in a native Windows CLI (opposed of using MinGW in MSys environment) FindwxWidgets.cmake tries to find the wxWidgets library the unix way (wx-config) which is not successful. | ||||
Steps To Reproduce | |||||
Additional Information | The solution of this problem is to change the code part IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(MINGW) SET(WIN32_STYLE_FIND 1) SET(UNIX_STYLE_FIND 0) ENDIF(MINGW) IF(UNIX) SET(UNIX_STYLE_FIND 1) ENDIF(UNIX) to something like IF(WIN32) SET(WIN32_STYLE_FIND 1) ENDIF(WIN32) IF(UNIX OR MSYS) SET(UNIX_STYLE_FIND 1) ENDIF(UNIX OR MSYS) or maybe nicer would be IF(WIN32 AND NOT CYGWIN AND NOT MSYS) SET(WIN32_STYLE_FIND 1) ELSE(WIN32 AND NOT CYGWIN AND NOT MSYS) SET(UNIX_STYLE_FIND 1) ENDIF(WIN32 AND NOT CYGWIN AND NOT MSYS) since cygwin and msys are the only cases on windows where the unix_style_find way would work. Though I'm not sure if cygwin and msys are set but I'm quite sure. Thanks, Werner | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-02-29 02:24 | Werner | New Issue | |||
2008-03-01 17:01 | Miguel Figueroa | Status | new => assigned | ||
2008-03-01 17:01 | Miguel Figueroa | Assigned To | => Miguel Figueroa | ||
2008-06-16 14:28 | Miguel Figueroa | Status | assigned => closed | ||
2008-06-16 14:28 | Miguel Figueroa | Note Added: 0012349 | |||
2008-06-16 14:28 | Miguel Figueroa | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|