File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,14 @@ if (UNIX)
143143 find_package (wxWidgets QUIET REQUIRED xrc stc richtext ribbon propgrid aui gl html qa adv core xml net base )
144144 endif ()
145145else ()
146- set (wxWidgets_ROOT_DIR $ENV{WXMSW3} )
147- message (STATUS "wxWidgets directory ${wxWidgets_ROOT_DIR} " )
148- find_package (wxWidgets REQUIRED xrc webview stc richtext ribbon propgrid aui gl html qa adv core xml net base scintilla)
146+ set (wxWidgets_ROOT_DIR $ENV{WXMSW3} )
147+ find_package (wxWidgets QUIET REQUIRED xrc stc richtext ribbon propgrid aui gl html qa adv core xml net base scintilla)
149148endif ()
150149
151- include (${wxWidgets_USE_FILE} )
150+ if (wxWidgets_FOUND)
151+ include (${wxWidgets_USE_FILE} )
152+ endif ()
153+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS} " )
152154
153155
154156#####################################################################################################################
You can’t perform that action at this time.
0 commit comments