Skip to content

Commit

Permalink
CMake: Attempting to fix compile issues with VS2022
Browse files Browse the repository at this point in the history
  • Loading branch information
drowaudio committed Feb 11, 2022
1 parent ada280f commit 117ae92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/TestRunner/CMakeLists.txt
Expand Up @@ -5,6 +5,8 @@ project(TestRunner VERSION 1.0.0)
# If we are using MSVC we want static runtime linkage
if (MSVC)
set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()

# If we are compiling for macOS we want to target OS versions down to 10.11
Expand Down

0 comments on commit 117ae92

Please sign in to comment.