cmake: fix a subtle bug which lead to a bad selection of wxwidget configuration. Impact fedora users

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4638 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2011-05-09 20:32:50 +00:00
parent b2ee693b25
commit 6926e32466
1 changed files with 4 additions and 2 deletions

View File

@ -38,9 +38,11 @@ if(NOT FORCE_INTERNAL_SDL)
endif(NOT FORCE_INTERNAL_SDL) endif(NOT FORCE_INTERNAL_SDL)
find_package(Subversion) find_package(Subversion)
# The requierement of wxWidgets is checked in SelectPcsx2Plugins module # The requierement of wxWidgets is checked in SelectPcsx2Plugins module
# Does not requier the module (allow to compile non-wx plugins) # Does not requiere the module (allow to compile non-wx plugins)
# Force the unicode build (the variable is only supported on cmake 2.8.3 and above) # Force the unicode build (the variable is only supported on cmake 2.8.3 and above)
set(wxWidgets_CONFIG_OPTIONS "--unicode=yes") # Warning do not put any double-quote for the argument...
# set(wxWidgets_CONFIG_OPTIONS --unicode=yes --debug=yes) # In case someone want to debug inside wx
set(wxWidgets_CONFIG_OPTIONS --unicode=yes)
find_package(wxWidgets COMPONENTS base core adv) find_package(wxWidgets COMPONENTS base core adv)
if(NOT FORCE_INTERNAL_ZLIB) if(NOT FORCE_INTERNAL_ZLIB)
find_package(ZLIB) find_package(ZLIB)