mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 15:43:54 -07:00
cmake: Enable c++11 for all targets
This commit is contained in:
parent
18993b397b
commit
a55b3784eb
4 changed files with 3 additions and 6 deletions
|
|
@ -37,6 +37,9 @@ ENDIF()
|
|||
# A project name is needed for CPack
|
||||
PROJECT("${PROJECT_NAME}")
|
||||
|
||||
# Use c++11 for all targets
|
||||
set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ ISO Standard")
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
|
||||
# Set conventional loops
|
||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue