]> git.ipfire.org Git - thirdparty/git.git/blobdiff - contrib/buildsystems/CMakeLists.txt
Merge branch 'bc/require-c99'
[thirdparty/git.git] / contrib / buildsystems / CMakeLists.txt
index 86b46114464dcbcd386ba079cc71b191e1ca7376..be67b4dab0c753372061b6f5e2a7f59c7c23409a 100644 (file)
@@ -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