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:
Deamhan
2019-07-13 00:38:30 +03:00
committed by Vadim Zeitlin
parent 67361b89d5
commit b92c30191c
2 changed files with 11 additions and 0 deletions

View File

@@ -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")