mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 05:09:01 +08:00
4389f62145
* [openblas] make openblas build on MinGW * Portfile cleanup: Join separate vcpkg_check_feature calls and add double quotes according to maintainer guidelines. * Portfile cleanup: Migrate vcpkg cmake commands from deprecated to new functions. * Portfile cleanup: Migrate vcpkg cmake commands from deprecated to new functions (2) - missed a spot. * Re-factory code * version * [shogun] Fix include cblas path * version Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
23 lines
850 B
Diff
23 lines
850 B
Diff
diff --git a/cmake/prebuild.cmake b/cmake/prebuild.cmake
|
|
index 0c126e3..bb0124b 100644
|
|
--- a/cmake/prebuild.cmake
|
|
+++ b/cmake/prebuild.cmake
|
|
@@ -558,6 +558,8 @@ else(NOT CMAKE_CROSSCOMPILING)
|
|
if (NOT ${GETARCH_RESULT})
|
|
MESSAGE(FATAL_ERROR "Compiling getarch failed ${GETARCH_LOG}")
|
|
endif ()
|
|
+
|
|
+ install(FILES "${PROJECT_BINARY_DIR}/${GETARCH_BIN}" DESTINATION bin)
|
|
endif ()
|
|
unset (HAVE_AVX2)
|
|
unset (HAVE_AVX)
|
|
@@ -601,6 +603,8 @@ execute_process(COMMAND "${BLASHELPER_BINARY_DIR}/${GETARCH_BIN}" 1 OUTPUT_VARIA
|
|
if (NOT ${GETARCH2_RESULT})
|
|
MESSAGE(FATAL_ERROR "Compiling getarch_2nd failed ${GETARCH2_LOG}")
|
|
endif ()
|
|
+
|
|
+ install(FILES "${PROJECT_BINARY_DIR}/${GETARCH2_BIN}" DESTINATION bin)
|
|
endif ()
|
|
|
|
# use the cmake binary w/ the -E param to run a shell command in a cross-platform way
|