We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b292efc commit 65ea9fbCopy full SHA for 65ea9fb
2 files changed
CMakeLists.txt
@@ -80,7 +80,9 @@ if (UNIX)
80
# find_package(wxWidgets QUIET REQUIRED xrc stc richtext ribbon propgrid aui gl html qa adv core xml net base scintilla)
81
endif ()
82
83
-include(${wxWidgets_USE_FILE})
+if (wxWidgets_FOUND)
84
+ include(${wxWidgets_USE_FILE})
85
+endif ()
86
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${wxWidgets_CXX_FLAGS}")
87
88
if (UNIX AND NOT APPLE)
tools/CMakeLists.txt
@@ -91,7 +91,9 @@ else ()
91
endif()
92
93
94
95
96
97
add_compile_options(${wxWidgets_CXX_FLAGS})
98
add_definitions(-DLK_USE_WXWIDGETS )
99
0 commit comments