Require C++11 in the minimal sample CMakefile too
We could, and probably should, set target-level property on wx libraries instead, but we'll have to increase the minimum required CMake version to 3.8 in order to be able to do it.
This commit is contained in:
parent
182eebdbf3
commit
d517a48c31
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ endif()
|
|||
# Name the project
|
||||
project(minimal)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Request the required wxWidgets libs
|
||||
find_package(wxWidgets 3.3 COMPONENTS core base REQUIRED CONFIG)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue