Skip to content
Snippets Groups Projects
Commit b7ad69ed authored by Dmitry Puzyrkov's avatar Dmitry Puzyrkov
Browse files

...

parent f5b94054
No related branches found
No related tags found
No related merge requests found
......@@ -65,19 +65,19 @@ then
else
echo "Host is $MACHINE, use native build toolchain"
if [ -f "/opt/homebrew/bin/cmake" ]
then
CMAKE=(/opt/homebrew/bin/cmake)
echo "Found homebrew cmake at $CMAKE, using it"
fi
if [ -f "/Users/$USER/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" ]
then
CMAKE=(/Users/$USER/Qt/Tools/CMake/CMake.app/Contents/bin/cmake )
echo "Found QT cmake at $CMAKE, using it preferably"
echo "Found QT cmake at $CMAKE, using it preferable"
else
echo "Not found cmake at default qt location, asuming it is in PATH"
CMAKE=(cmake)
if [ -f "/opt/homebrew/bin/cmake" ]
then
CMAKE=(/opt/homebrew/bin/cmake)
echo "Found homebrew cmake at $CMAKE, using it"
else
echo "Not found cmake at default qt location, asuming it is in PATH"
CMAKE=(cmake)
fi
fi
##everything else can be done by default make
......
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