Skip to content

Commit

Permalink
Allow forcing build against specific wxWidgets version
Browse files Browse the repository at this point in the history
  • Loading branch information
jongough committed Apr 9, 2018
2 parents 47200a0 + 09657ed commit 029fd21
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/PluginConfigure.cmake
Expand Up @@ -56,6 +56,11 @@ ENDIF(MSVC)
SET(wxWidgets_USE_LIBS base core net xml html adv)
SET(BUILD_SHARED_LIBS TRUE)


set (WXWIDGETS_FORCE_VERSION CACHE VERSION "Force usage of a specific wxWidgets version.")
if(WXWIDGETS_FORCE_VERSION)
set (wxWidgets_CONFIG_OPTIONS --version=${WXWIDGETS_FORCE_VERSION})
endif()
FIND_PACKAGE(wxWidgets REQUIRED)

IF(MSYS)
Expand Down

0 comments on commit 029fd21

Please sign in to comment.