diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index 14cc5677..d2fbefd6 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -22,13 +22,13 @@ if(ENABLE_OPENAL) else(ENABLE_OPENAL) ADD_DEFINITIONS (-DNO_OAL) endif(ENABLE_OPENAL) - - -# adv is for wxAboutBox -# xml, html is for xrc -SET( wxWidgets_USE_LIBS xrc xml html adv gl net core base ) -FIND_PACKAGE ( wxWidgets REQUIRED ) -EXECUTE_PROCESS(COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" --cxxflags + + +# adv is for wxAboutBox +# xml, html is for xrc +SET( wxWidgets_USE_LIBS xrc xml html adv gl net core base ) +FIND_PACKAGE ( wxWidgets REQUIRED ) +EXECUTE_PROCESS(COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}" --cxxflags) INCLUDE( ${wxWidgets_USE_FILE} ) FIND_PACKAGE ( Gettext REQUIRED ) FIND_PROGRAM(XGETTEXT xgettext)