mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 17:59:02 +08:00
f33d743a75
* [libtcod] Update to 1.19.0 * Fail UWP triplets for libtcod in CI baseline. This was because of internal deprecations being treated as errors.
29 lines
755 B
CMake
29 lines
755 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO libtcod/libtcod
|
|
REF 1.19.0
|
|
SHA512 462c3deadaeaaf3adb44427d41c4e8c1acc2c37ef90677d8d60e8194f9c190bc7e02b0cf2b285e248171354f8d73f1dd28144cfe8a98a469e1071448bce9e68b
|
|
HEAD_REF develop
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DCMAKE_INSTALL_INCLUDEDIR=${CURRENT_PACKAGES_DIR}/include
|
|
-DLIBTCOD_SDL2=find_package
|
|
-DLIBTCOD_ZLIB=find_package
|
|
-DLIBTCOD_GLAD=find_package
|
|
-DLIBTCOD_LODEPNG=find_package
|
|
-DLIBTCOD_UTF8PROC=vcpkg
|
|
-DLIBTCOD_STB=vcpkg
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|