diff options
author | 2021-12-10 14:35:14 -0800 | |
---|---|---|
committer | 2021-12-10 14:35:14 -0800 | |
commit | d67fc4bf0ba89835c61efd1279c732fc640b3b2d (patch) | |
tree | eb26076973292289415d3311e4e3db6f9135c06e /contrib/buildsystems | |
parent | Merge branch 'hn/create-reflog-simplify' (diff) | |
parent | git-compat-util: add a test balloon for C99 support (diff) | |
download | tgif-d67fc4bf0ba89835c61efd1279c732fc640b3b2d.tar.xz |
Merge branch 'bc/require-c99'
Weather balloon to break people with compilers that do not support
C99.
* bc/require-c99:
git-compat-util: add a test balloon for C99 support
Diffstat (limited to 'contrib/buildsystems')
-rw-r--r-- | contrib/buildsystems/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt index 86b4611446..be67b4dab0 100644 --- a/contrib/buildsystems/CMakeLists.txt +++ b/contrib/buildsystems/CMakeLists.txt @@ -208,7 +208,7 @@ endif() if(CMAKE_C_COMPILER_ID STREQUAL "MSVC") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}) - add_compile_options(/MP) + add_compile_options(/MP /std:c11) endif() #default behaviour |