Skip to content
Snippets Groups Projects
Commit a82828b3 authored by Nikolay Panko's avatar Nikolay Panko
Browse files

changed order in which flags are added for DBUILD_DIAGTOOL

parent 2abae853
No related merge requests found
...@@ -115,15 +115,15 @@ fi ...@@ -115,15 +115,15 @@ fi
# Add -DBUILD_DIAGTOOL=ON if the target is windows # Add -DBUILD_DIAGTOOL=ON if the target is windows
if [ "$BUILD_TARGET" == "windows" ]; then if [ "$BUILD_TARGET" == "windows" ]; then
BUILD_OPTIONS[${#BUILD_OPTIONS[@]}]="-DBUILD_DIAGTOOL=ON" BUILD_OPTIONS=("-DBUILD_DIAGTOOL=ON" "${BUILD_OPTIONS[@]}")
fi fi
# Add -DBUILD_DIAGTOOL=ON the target is linux # Add -DBUILD_DIAGTOOL=ON the target is linux
if [ "$BUILD_TARGET" == "linux" ]; then if [ "$BUILD_TARGET" == "linux" ]; then
BUILD_OPTIONS[${#BUILD_OPTIONS[@]}]="-DBUILD_DIAGTOOL=ON" BUILD_OPTIONS=("-DBUILD_DIAGTOOL=ON" "${BUILD_OPTIONS[@]}")
fi fi
# Add -DBUILD_DIAGTOOL=ON the target is osx # Add -DBUILD_DIAGTOOL=ON the target is osx
if [ "$BUILD_TARGET" == "osx" ]; then if [ "$BUILD_TARGET" == "osx" ]; then
BUILD_OPTIONS[${#BUILD_OPTIONS[@]}]="-DBUILD_DIAGTOOL=ON" BUILD_OPTIONS=("-DBUILD_DIAGTOOL=ON" "${BUILD_OPTIONS[@]}")
fi fi
#all base logic from here #all base logic from here
mkdir -p ${BUILD_DIR}/build mkdir -p ${BUILD_DIR}/build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment