summaryrefslogtreecommitdiffstats
path: root/Modules/UsewxWidgets.cmake
diff options
context:
space:
mode:
authorMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2010-09-01 16:27:31 (GMT)
committerMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2010-09-01 16:27:31 (GMT)
commit3dbeeb77934d6dff85c71b001e07622c5ac6fe4c (patch)
tree06b4014e37a11fddeab0ac613528e4ec033d15df /Modules/UsewxWidgets.cmake
parentf46712ebe7b3fe60a02f5fc5cf08cc861287c42b (diff)
downloadCMake-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.cmake3
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})