2017-06-21 02:36:16 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO g-truc/glm
|
2020-01-18 08:25:10 +08:00
|
|
|
REF 0.9.9.7
|
|
|
|
SHA512 9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b
|
2017-06-21 02:36:16 +08:00
|
|
|
HEAD_REF master
|
2016-09-21 07:13:39 +08:00
|
|
|
)
|
|
|
|
|
2019-05-14 08:51:16 +08:00
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
2017-12-19 15:25:03 +08:00
|
|
|
|
2017-06-21 02:36:16 +08:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-05-14 08:51:16 +08:00
|
|
|
PREFER_NINJA
|
2017-06-21 02:36:16 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2019-05-14 08:51:16 +08:00
|
|
|
vcpkg_fixup_cmake_targets()
|
2017-06-21 02:36:16 +08:00
|
|
|
|
2019-05-14 08:51:16 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
2016-09-21 15:34:07 +08:00
|
|
|
|
2016-09-21 07:13:39 +08:00
|
|
|
# Put the license file where vcpkg expects it
|
2020-01-18 08:25:10 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/copying.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|