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