Skip to content

Commit 791e349

Browse files
committed
cmake-toolchain
1 parent f815933 commit 791e349

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

external_deps/build.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,8 @@ configure_build() {
171171
cmake_build() {
172172
local cmake_args=()
173173

174-
if [ -n "${CMAKE_TOOLCHAIN}" ]
175-
then
176-
cmake_args+=(-DCMAKE_TOOLCHAIN_FILE="${CMAKE_TOOLCHAIN}")
177-
fi
178-
179174
cmake -S . -B build \
175+
-DCMAKE_TOOLCHAIN_FILE="${CMAKE_TOOLCHAIN}" \
180176
-DCMAKE_BUILD_TYPE='Release' \
181177
-DCMAKE_PREFIX_PATH="${PREFIX}" \
182178
-DCMAKE_INSTALL_PREFIX="${PREFIX}" \

0 commit comments

Comments
 (0)