2017-06-21 02:36:16 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO g-truc/glm
|
2020-04-24 12:17:26 +08:00
|
|
|
REF bf71a834948186f4097caa076cd2663c69a10e1e #v0.9.9.8
|
|
|
|
SHA512 226266c02af616a96fb19ee32cf3f98347daa43a4fde5d618d36b38709dce1280de126c542524d40725ecf70359edcc5b60660554c65ce246514501fb4c9c87c
|
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)
|