Skip to content

Commit

Permalink
Merge pull request microsoft#50 from mcmihai/glm_fix
Browse files Browse the repository at this point in the history
[glm] Removed CMakeLists.txt
  • Loading branch information
ras0219-msft authored Sep 21, 2016
2 parents e70a61d + a8f4f05 commit cd4dce1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ports/glm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ vcpkg_download_distfile(ARCHIVE
)
vcpkg_extract_source_archive(${ARCHIVE})

# Remove glm/CMakeLists.txt
file(REMOVE ${CURRENT_BUILDTREES_DIR}/src/glm/glm/CMakeLists.txt)

# 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()

0 comments on commit cd4dce1

Please sign in to comment.