mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-03-03 18:59:10 +00:00
Make CMake configurable in test script
This commit is contained in:
parent
b65ff5293a
commit
a82e766925
@ -41,12 +41,12 @@ cd "$PWD_DIR/cmake_build"
|
||||
|
||||
if [[ ! -z "$CXX" ]];
|
||||
then
|
||||
if ! CXX="$CXX" cmake -DCMAKE_CXX_COMPILER="$CXX" ../; then
|
||||
if ! CXX="$CXX" "$CMAKE" -DCMAKE_CXX_COMPILER="$CXX" ../; then
|
||||
echo "cmake failed"
|
||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||
fi
|
||||
else
|
||||
if ! cmake ../; then
|
||||
if ! "$CMAKE" ../; then
|
||||
echo "cmake failed"
|
||||
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user