aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoelf-Jilling <r-j.wolthuis@live.com>2017-12-06 12:53:47 +0100
committerRoelf-Jilling <r-j.wolthuis@live.com>2017-12-06 12:55:03 +0100
commit438dc50389048bdd15b504444b284e0d5d95e3c2 (patch)
treefe1c2936252c42f4863cd535a5c7e07759548131
parent705c8f201273e9bdad9508903d26b21f5d76f1c3 (diff)
downloadvcpkg-438dc50389048bdd15b504444b284e0d5d95e3c2.tar.gz
vcpkg-438dc50389048bdd15b504444b284e0d5d95e3c2.zip
[ms-gsl] simplify portfile
-rw-r--r--ports/ms-gsl/portfile.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/ms-gsl/portfile.cmake b/ports/ms-gsl/portfile.cmake
index 285b49676..b8c2d4948 100644
--- a/ports/ms-gsl/portfile.cmake
+++ b/ports/ms-gsl/portfile.cmake
@@ -9,8 +9,7 @@ vcpkg_from_github(
HEAD_REF master
)
-file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*")
+file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ms-gsl)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/ms-gsl/LICENSE ${CURRENT_PACKAGES_DIR}/share/ms-gsl/copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ms-gsl RENAME copyright)