Maybe changing the way we set the standard will fix it?

This commit is contained in:
Jacob 2024-05-06 00:26:23 +02:00
parent e950a54477
commit 0b0c89a55b
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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)