Make sure that wxwidgets uses the gtk2 version of the toolkit
Trying to fix an assert from src/wx/guiinit.cpp:2058
This commit is contained in:
parent
89e6cee8f5
commit
1dd04bc2bd
|
@ -34,6 +34,8 @@ endif(ENABLE_OPENAL)
|
|||
# adv is for wxAboutBox
|
||||
# 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")
|
||||
FIND_PACKAGE ( wxWidgets REQUIRED )
|
||||
EXECUTE_PROCESS(COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" --cxxflags)
|
||||
INCLUDE( ${wxWidgets_USE_FILE} )
|
||||
|
|
Loading…
Reference in New Issue