Maybe changing the way we set the standard will fix it?
This commit is contained in:
parent
e950a54477
commit
0b0c89a55b
2
.github/workflows/cmake-multi-platform.yml
vendored
2
.github/workflows/cmake-multi-platform.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
|||
- os: ubuntu-latest
|
||||
cpp_compiler: clang++
|
||||
- os: macos-latest
|
||||
cpp_compiler: g++
|
||||
cpp_compiler: clang++
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
@ -6,7 +6,9 @@ if (MSVC)
|
|||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
endif()
|
||||
|
||||
set_property(GLOBAL PROPERTY CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_library(${PROJECT_NAME} SHARED)
|
||||
|
|
Loading…
Reference in a new issue