From 291e08b6043296692dbdedbd0e2411bd322666f8 Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Tue, 13 Jan 2015 08:42:47 -0500 Subject: [PATCH] This is what pcsx2 does --- src/wx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index fb9ab57d..7cac877d 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -35,7 +35,7 @@ endif(ENABLE_OPENAL) # xml, html is for xrc SET( wxWidgets_USE_LIBS xrc xml html adv gl net core base ) #Make sure we use the libwxgtk2.8 toolkit -set(wxWidgets_CUSTOM_OPTIONS "--toolkit=gtk2") +list(APPEND wxWidgets_CONFIG_OPTIONS --version=2.8 --toolkit=gtk2) FIND_PACKAGE ( wxWidgets REQUIRED ) EXECUTE_PROCESS(COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" --cxxflags) INCLUDE( ${wxWidgets_USE_FILE} )