Skip to content
Permalink
Browse files

Fix wxWidgets COMPONENTS specification, deprecated usage broken with …

…CMake 3.14

Current FindWxWidgets.cmake allows to specify OPTIONAL components, unfortunately
this broke the (deprecated) use of wxWidgets_USE_LIBS.

Fixes: #779
  • Loading branch information...
StefanBruens committed Jul 2, 2019
1 parent 0f8be27 commit f21f269302d8796fa794b6231cb116cc51eb92ab
Showing with 1 addition and 3 deletions.
  1. +1 −3 CMakeLists.txt
@@ -789,9 +789,7 @@ IF(BUILD_OSG_EXAMPLES AND NOT ANDROID)

FIND_PACKAGE(FLTK)
FIND_PACKAGE(FOX)

SET(wxWidgets_USE_LIBS base core gl net)
FIND_PACKAGE(wxWidgets)
FIND_PACKAGE(wxWidgets COMPONENTS base core gl net)

ENDIF()

0 comments on commit f21f269

Please sign in to comment.
You can’t perform that action at this time.