set VCPKG_TARGET_TRIPLET to x64-windows-static-md
This commit is contained in:
parent
e07ddaee38
commit
825eec049d
@ -38,6 +38,7 @@ if(MSVC)
|
||||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
|
||||
endif()
|
||||
if((CMAKE_BUILD_TYPE EQUAL "Release") OR (CMAKE_BUILD_TYPE EQUAL "RelWithDebInfo"))
|
||||
set(VCPKG_TARGET_TRIPLET "x64-windows-static-md")
|
||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Release>:Release>")
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE /W4 /MT /O2)
|
||||
else()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user