Commit 6e975f10 authored by Martin Heistermann's avatar Martin Heistermann

cmake: fix wrong variable name

parent bd6b72c6
Pipeline #12319 passed with stage
in 7 minutes and 38 seconds
...@@ -41,9 +41,9 @@ if (OVM_STANDALONE_BUILD) ...@@ -41,9 +41,9 @@ if (OVM_STANDALONE_BUILD)
endif() endif()
set(OVM_CXX_STANDARD 11 CACHE STRING "C++ standard version to use") set(OVM_CXX_STANDARD 11 CACHE STRING "C++ standard version to use")
set_property(CACHE OVM_CXX_STANDARD PROPERTY STRINGS 11 14 17 20) set_property(CACHE OVM_CXX_STANDARD PROPERTY STRINGS 11 14 17 20)
set(CMAKE_CXX_VERSION ${OVM_CXX_STANDARD}) set(CMAKE_CXX_STANDARD ${OVM_CXX_STANDARD})
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD_REQUIRED YES) set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS OFF)
else() else()
# OVM_TARGET_PREFIX is prepended to targets with generic names, # OVM_TARGET_PREFIX is prepended to targets with generic names,
# i.e., "doc", "unittests" # i.e., "doc", "unittests"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment