Commit e99f9fec authored by Emmanuel Promayon's avatar Emmanuel Promayon

FIXED try the debug version if on windows bash

parent 8af5271f
......@@ -127,6 +127,16 @@ else
CMAKE_OPTIONS="$CMAKE_OPTIONS -DCMAKE_MODULE_PATH:PATH=$3/sdk/cmake/modules;$3/sdk/cmake/modules/macros"
fi
# check if current build is on windows debug version
if [ ! -f $camitkGenerator ]; then
os=$(uname -a | cut -f1 -d"_")
if [ "$os" == "MINGW64" ]; then
# try with debug postfix
camitkGenerator=$camitkGenerator-debug
camitkConfig=$camitkConfig-debug
fi
fi
getWorkingDirExtensionCount() {
echo $(xvfb-run --auto-servernum --server-num=1 $camitkConfig --config | grep "^ - \[W\] " | wc -l)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment