Make sure that CXX extensions are disabled in the CMakeLists.txt file.
This commit is contained in:
parent
bd5faa0615
commit
13cfdef6ee
|
@ -14,6 +14,7 @@ configure_file("resources/${PROJECT_NAME}.rc" "processed/${PROJECT_NAME}.rc" @ON
|
|||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_FLAGS "-Wall")
|
||||
if (NOT MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
|
||||
|
|
Loading…
Reference in New Issue