2017-06-21 02:36:16 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO g-truc/glm
|
2023-08-24 13:04:38 +08:00
|
|
|
REF 5c46b9c07008ae65cb81ab79cd677ecc1934b903 # commit on 2023-06-08
|
|
|
|
SHA512 17315dd05059accf3d4084d35dd037d4001f88a1d91da9a6fd5cedecab652c8bef8efa89cd45e21cd227f964a03408401edc2384c22e50caa449abf71b23fd6a
|
2017-06-21 02:36:16 +08:00
|
|
|
HEAD_REF master
|
2016-09-21 07:13:39 +08:00
|
|
|
)
|
|
|
|
|
2023-02-01 04:34:37 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
2017-12-19 15:25:03 +08:00
|
|
|
|
2023-02-01 04:34:37 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-06-21 02:36:16 +08:00
|
|
|
)
|
|
|
|
|
2023-02-01 04:34:37 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup()
|
2017-06-21 02:36:16 +08:00
|
|
|
|
2023-02-01 04:34:37 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
2016-09-21 15:34:07 +08:00
|
|
|
|
2023-08-24 13:04:38 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/copying.txt")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|