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)
|
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
|
||||||
endif()
|
endif()
|
||||||
if((CMAKE_BUILD_TYPE EQUAL "Release") OR (CMAKE_BUILD_TYPE EQUAL "RelWithDebInfo"))
|
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>")
|
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Release>:Release>")
|
||||||
target_compile_options(${PROJECT_NAME} PRIVATE /W4 /MT /O2)
|
target_compile_options(${PROJECT_NAME} PRIVATE /W4 /MT /O2)
|
||||||
else()
|
else()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user