diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2016-09-20 16:51:46 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2016-09-20 16:51:46 -0700 |
| commit | 740b3e845e9e1f35f0bd79b25436ac650e68d522 (patch) | |
| tree | 4e3f766d7c15281ade3af9f782cd1200b8be0d7f | |
| parent | da184a2c6f1ecd2cac3b4580f97aea16f4129301 (diff) | |
| parent | 1da3c801a3631a976a891a61c4ee9607b992ed1d (diff) | |
| download | vcpkg-740b3e845e9e1f35f0bd79b25436ac650e68d522.tar.gz vcpkg-740b3e845e9e1f35f0bd79b25436ac650e68d522.zip | |
Merge branch 'master' of https://github.com/microsoft/vcpkg
| -rw-r--r-- | ports/glm/CONTROL | 3 | ||||
| -rw-r--r-- | ports/glm/portfile.cmake | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/glm/CONTROL b/ports/glm/CONTROL new file mode 100644 index 000000000..1ec4874a9 --- /dev/null +++ b/ports/glm/CONTROL @@ -0,0 +1,3 @@ +Source: glm +Version: 0.9.8.0 +Description: OpenGL Mathematics (GLM) https://glm.g-truc.net diff --git a/ports/glm/portfile.cmake b/ports/glm/portfile.cmake new file mode 100644 index 000000000..8bc466e34 --- /dev/null +++ b/ports/glm/portfile.cmake @@ -0,0 +1,17 @@ +include(vcpkg_common_functions) +vcpkg_download_distfile(ARCHIVE + URL "https://github.com/g-truc/glm/releases/download/0.9.8.0/glm-0.9.8.0.zip" + FILENAME "glm-0.9.8.0.zip" + MD5 b24613c1f7e16f504d936ae3ac1f4917 +) +vcpkg_extract_source_archive(${ARCHIVE}) + +# Put the license file where vcpkg expects it +file(COPY ${CURRENT_BUILDTREES_DIR}/src/glm/copying.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/glm/) +file(RENAME ${CURRENT_PACKAGES_DIR}/share/glm/copying.txt ${CURRENT_PACKAGES_DIR}/share/glm/copyright) + +# Copy the glm header files +file(GLOB HEADER_FILES ${CURRENT_BUILDTREES_DIR}/src/glm/glm/*) +file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/glm) +vcpkg_copy_pdbs() + |
