diff --git a/CMakeLists.txt b/CMakeLists.txt index e9078e0..a6d9558 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,6 +87,7 @@ if (UNIX) set(wxWidgets_CONFIG_EXECUTABLE $ENV{WXMSW3}/bin/wx-config) find_package(wxWidgets REQUIRED xrc stc richtext ribbon propgrid aui gl html qa adv core xml net base) endif () + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS}") else () if(NOT EXISTS "$ENV{WXMSW3}/wxwidgets.props") set(wxWidgets_ROOT_DIR $ENV{WXMSW3})