mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-13 07:36:39 +00:00
[mlpack] Fix build tool error (#10409)
* [mlpack] Fix build tool error * Remove tests from tool feature
This commit is contained in:
parent
313d88c4df
commit
f72c465aff
@ -1,8 +1,8 @@
|
||||
Source: mlpack
|
||||
Version: 3.2.2
|
||||
Version: 3.2.2-1
|
||||
Homepage: https://github.com/mlpack/mlpack
|
||||
Description: mlpack is a fast, flexible machine learning library, written in C++, that aims to provide fast, extensible implementations of cutting-edge machine learning algorithms.
|
||||
Build-Depends: openblas (!osx), clapack (!osx), boost, armadillo, ensmallen
|
||||
|
||||
Feature: tools
|
||||
Description: Build command-line executables and tests.
|
||||
Description: Build command-line executables.
|
||||
|
@ -20,15 +20,14 @@ file(REMOVE ${SOURCE_PATH}/CMake/ARMA_FindOpenBLAS.cmake)
|
||||
file(REMOVE ${SOURCE_PATH}/CMake/FindArmadillo.cmake)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
tools BUILD_TOOLS
|
||||
tools BUILD_CLI_EXECUTABLES
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_TESTS=${BUILD_TOOLS}
|
||||
-DBUILD_CLI_EXECUTABLES=${BUILD_TOOLS}
|
||||
-DBUILD_TESTS=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
vcpkg_install_cmake()
|
||||
|
Loading…
x
Reference in New Issue
Block a user