mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 09:22:18 -05:00
[cmake] Use static libraries with vcpkg on Windows (#1079)
This commit is contained in:
parent
e51e7f3d45
commit
ed9378375d
@ -20,6 +20,9 @@ add_compile_options($<$<CXX_COMPILER_ID:MSVC>:/MP>)
|
|||||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
include(cmake/automate-vcpkg.cmake)
|
include(cmake/automate-vcpkg.cmake)
|
||||||
|
|
||||||
|
set(VCPKG_TRIPLET x64-windows-static)
|
||||||
|
set(VCPKG_TARGET_TRIPLET x64-windows-static)
|
||||||
|
|
||||||
vcpkg_bootstrap()
|
vcpkg_bootstrap()
|
||||||
vcpkg_install_packages(zlib bzip2 libpng)
|
vcpkg_install_packages(zlib bzip2 libpng)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user