vcpkg/ports/tmxlite/portfile.cmake
Thomas1664 c37cc7836a
[many ports] Fix use of Readme as copyright (#24201)
* [jack2] Update to 1.9.21

* [libxmlmm] Fix license

* [volk] Fix license

* [tmxlite] Fix license

* [tinyxml2] Fix license

* [stb] Fix license

* [rtmidi] Fix license

* [pugixml] Update to 1.12.1

* [physx] Fix license

* [physx] License expression

* version

* lowercase

* null

* Format

* Remove version-string

* stb

* Format

* version

* Format

* version

* [tinyxml] port version

* version

* Fix license

* version

* [rtmidi] remove patch

* version

* [pugixml] Remove unused variable

* version

* [physx] Remove from CI baseline for testing

* [physx] update supports statement

* version

* [tmxlite] add final newline

* version

* [libxmlmm] Don't use own copyright file

* version

* Fix license copy

* version
2022-04-19 14:31:08 -07:00

22 lines
677 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fallahn/tmxlite
REF v1.3.0
HEAD_REF master
SHA512 3D432152080F7FDDD14A150FF87C34932695C96D7F676399C7610FF373972223CE54C9483BD9A872FD53668C113E334FCBF8596AE21CFDAF83B6159C7287A4A3
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/tmxlite"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)