[CMAKE] Disable policy CMP0091 and set /MT flag explicitly for Visual Studio generator

This commit is contained in:
Jérôme Gardou 2021-01-22 12:11:34 +01:00 committed by Jérôme Gardou
parent c68739e566
commit 49000c6471
2 changed files with 13 additions and 1 deletions

View file

@ -64,7 +64,6 @@ else()
set(CMAKE_ASM_MASM_FLAGS_INIT "/Cp")
endif()
set(CMAKE_C_STANDARD_LIBRARIES "" CACHE INTERNAL "")
set(CMAKE_USER_MAKE_RULES_OVERRIDE "${CMAKE_CURRENT_LIST_DIR}/overrides-msvc.cmake")