mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
set VCPKG_TARGET_TRIPLET to x64-windows-static-md
This commit is contained in:
parent
e07ddaee38
commit
825eec049d
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue