Skip to content

Commit

Permalink
Use SOURCE_PATH for license file path
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsh-msft committed Aug 9, 2017
1 parent 890ed61 commit 6a3c13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/openblas/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ string(REPLACE "#include \"common.h\"" "#include \"openblas_common.h\"" CBLAS_H
file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h "${CBLAS_H}")

# openblas is BSD
file(COPY ${CURRENT_BUILDTREES_DIR}/src/OpenBLAS-0.2.20/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas)
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/openblas/LICENSE ${CURRENT_PACKAGES_DIR}/share/openblas/copyright)

vcpkg_copy_pdbs()
Expand Down

0 comments on commit 6a3c13f

Please sign in to comment.