diff options
author | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2010-09-01 16:27:31 (GMT) |
---|---|---|
committer | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2010-09-01 16:27:31 (GMT) |
commit | 3dbeeb77934d6dff85c71b001e07622c5ac6fe4c (patch) | |
tree | 06b4014e37a11fddeab0ac613528e4ec033d15df /Modules/UsewxWidgets.cmake | |
parent | f46712ebe7b3fe60a02f5fc5cf08cc861287c42b (diff) | |
download | CMake-3dbeeb77934d6dff85c71b001e07622c5ac6fe4c.zip CMake-3dbeeb77934d6dff85c71b001e07622c5ac6fe4c.tar.gz CMake-3dbeeb77934d6dff85c71b001e07622c5ac6fe4c.tar.bz2 |
BUG #8184: Fixed FindwxWidgets wrong order of default libs for MinGW.
Also fixed usage sample in comments, which can be misleading for MinGW
users as demonstrated by mantis issue #10089.
Diffstat (limited to 'Modules/UsewxWidgets.cmake')
-rw-r--r-- | Modules/UsewxWidgets.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/UsewxWidgets.cmake b/Modules/UsewxWidgets.cmake index 3a4a382..9ecfff0 100644 --- a/Modules/UsewxWidgets.cmake +++ b/Modules/UsewxWidgets.cmake @@ -3,7 +3,8 @@ # flags, etc. INCLUDE_DIRECTORIES and LINK_DIRECTORIES are called. # # USAGE -# FIND_PACKAGE(wxWidgets REQUIRED base core gl net) +# # Note that for MinGW users the order of libs is important! +# FIND_PACKAGE(wxWidgets REQUIRED net gl core base) # INCLUDE(${wxWidgets_USE_FILE}) # # and for each of your dependant executable/library targets: # TARGET_LINK_LIBRARIES(<YourTarget> ${wxWidgets_LIBRARIES}) |