cmake: force the unicode build of wxwidget

Note: requiere cmake 2.8.3 or above (no impact otherwise)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4302 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2011-02-15 14:37:30 +00:00
parent 3c6e96dc76
commit 4dac657c9b
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ find_package(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 requier the module (allow to compile non-wx plugins)
# Force the unicode build (the variable is only supported on cmake 2.8.3 and above)
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)