Use PORT variable instead of hardcoded name.

This commit is contained in:
Meyer Zinn 2020-04-15 18:09:03 -05:00 committed by GitHub
parent a3a56c4699
commit 29d3b0b3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,5 +15,5 @@ vcpkg_configure_cmake(
-DBUILD_EXAMPLES=OFF
)
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/quadtree)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/quadtree RENAME copyright)
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)