CMake: Auto-enable wxUSE_STD_CONTAINERS when wxUSE_STL is enabled

This commit is contained in:
Maarten Bent
2018-07-29 11:23:46 +02:00
parent a156cb5b6b
commit bfee89e3c4

View File

@@ -43,7 +43,7 @@ endif()
# STL options # STL options
wx_option(wxUSE_STL "use standard C++ classes for everything" OFF) wx_option(wxUSE_STL "use standard C++ classes for everything" OFF)
wx_dependent_option(wxUSE_STD_CONTAINERS "use standard C++ container classes" OFF "wxUSE_STL" OFF) wx_dependent_option(wxUSE_STD_CONTAINERS "use standard C++ container classes" ON "wxUSE_STL" OFF)
wx_option(wxUSE_UNICODE "compile with Unicode support (NOT RECOMMENDED to be turned off)") wx_option(wxUSE_UNICODE "compile with Unicode support (NOT RECOMMENDED to be turned off)")
if(NOT WIN32) if(NOT WIN32)