mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 06:21:39 +08:00
3565cab797
* Merge INTERFACE_LINK_LIBRARIES configurations Direct references to binaries must match the active build type when used. * Update tmx for cmake_config_fixup * Update versions * Prevent repeated fixup of the same file * Don't change line structure * Update versions * CI * Apply CR suggestion Co-authored-by: nicole mazzuca <mazzucan@outlook.com> * Update versions * Fixup CR suggestion * Update versions * Update versions Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
25 lines
657 B
CMake
25 lines
657 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO baylej/tmx
|
|
REF tmx_1.2.0
|
|
HEAD_REF master
|
|
SHA512 cb29c67af560a1844e798d3fe2677a6b71866943b233c0700212b91de35f252a0a465c33911a2c432aa54be309e3ac10770bc95c6450227e39abe049c1fbbdd1
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/tmx)
|
|
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
"${CURRENT_PACKAGES_DIR}/debug/share"
|
|
)
|
|
|
|
# Handle copyright
|
|
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|