aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-14 18:52:19 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-14 18:52:19 -0700
commit583abfa1784182b552b20c0e79548b39a6765576 (patch)
tree64a8d294133f322784de990a4623df40b88a3e99
parent8f245259b908dff2749ae431866df39e0312f938 (diff)
downloadvcpkg-583abfa1784182b552b20c0e79548b39a6765576.tar.gz
vcpkg-583abfa1784182b552b20c0e79548b39a6765576.zip
[openblas] Fix missing write to cblas.h
-rw-r--r--ports/openblas/CONTROL2
-rw-r--r--ports/openblas/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/openblas/CONTROL b/ports/openblas/CONTROL
index d6ac6297d..29c2cea0e 100644
--- a/ports/openblas/CONTROL
+++ b/ports/openblas/CONTROL
@@ -1,3 +1,3 @@
Source: openblas
-Version: v0.2.19
+Version: v0.2.19-1
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
diff --git a/ports/openblas/portfile.cmake b/ports/openblas/portfile.cmake
index 63f464405..f4bf66d15 100644
--- a/ports/openblas/portfile.cmake
+++ b/ports/openblas/portfile.cmake
@@ -62,7 +62,7 @@ file(RENAME ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/inc
file(READ ${SOURCE_PATH}/cblas.h CBLAS_H)
string(REPLACE "#include \"common.h\"" "#include \"openblas_common.h\"" CBLAS_H ${CBLAS_H})
-file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h)
+file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h ${CBLAS_H})
# openblas is BSD
file(COPY ${CURRENT_BUILDTREES_DIR}/src/OpenBLAS-0.2.19/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas)