CMake: Add wxUSE_NO_RTTI option
This is similar to configure --enable-no_rtti option. Closes https://github.com/wxWidgets/wxWidgets/pull/1405
This commit is contained in:
@@ -44,6 +44,8 @@ if(WIN32)
|
||||
set(wxBUILD_VENDOR "custom" CACHE STRING "Short string identifying your company (used in DLL name)")
|
||||
endif()
|
||||
|
||||
wx_option(wxUSE_NO_RTTI "disable RTTI support" OFF)
|
||||
|
||||
# STL options
|
||||
wx_option(wxUSE_STL "use standard C++ classes for everything" OFF)
|
||||
set(wxTHIRD_PARTY_LIBRARIES ${wxTHIRD_PARTY_LIBRARIES} wxUSE_STL "use C++ STL classes")
|
||||
|
Reference in New Issue
Block a user