mirror of https://github.com/AxioDL/nod.git
Exclude CMake CXX standard from MSVC
This commit is contained in:
parent
f147e12356
commit
dffcac50c5
|
@ -1,8 +1,10 @@
|
|||
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17
|
||||
project(nod VERSION 0.1)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
if (NOT MSVC)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include (CMakePackageConfigHelpers)
|
||||
|
|
2
logvisor
2
logvisor
|
@ -1 +1 @@
|
|||
Subproject commit f04a9777eb034ff28200ec109511455627736a81
|
||||
Subproject commit 27814c527622538d384336c4d43cf5b4b6869859
|
Loading…
Reference in New Issue