From 6926e324665c5434bf355645142ad0fbbdc32891 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Mon, 9 May 2011 20:32:50 +0000 Subject: [PATCH] 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 --- cmake/SearchForStuff.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index 55383c29f5..57a87773e1 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -38,9 +38,11 @@ if(NOT FORCE_INTERNAL_SDL) endif(NOT FORCE_INTERNAL_SDL) find_package(Subversion) # 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) -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) if(NOT FORCE_INTERNAL_ZLIB) find_package(ZLIB)