mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-07 16:00:35 +00:00
Add flag for MSVC
This commit is contained in:
parent
625561a655
commit
6fca79ed6d
@ -140,6 +140,9 @@ endif()
|
|||||||
if((CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11"))
|
if((CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "11"))
|
||||||
set(CMAKE_REQUIRED_FLAGS "-std=c++17")
|
set(CMAKE_REQUIRED_FLAGS "-std=c++17")
|
||||||
endif()
|
endif()
|
||||||
|
if(MSVC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "18"))
|
||||||
|
set(CMAKE_REQUIRED_FLAGS "/std:c++17")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Normalize and check the component list we were given
|
# Normalize and check the component list we were given
|
||||||
set(want_components ${FILESYSTEM_FIND_COMPONENTS})
|
set(want_components ${FILESYSTEM_FIND_COMPONENTS})
|
||||||
|
Loading…
Reference in New Issue
Block a user