mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 01:48:31 +00:00
cmake: Set C11 standard
This commit is contained in:
parent
374a256d59
commit
8338599571
|
@ -30,6 +30,10 @@ if(NOT WIN32)
|
|||
)
|
||||
endif()
|
||||
|
||||
# We use C11
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
||||
# We use C++17
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
|
Loading…
Reference in a new issue