Fix macOS brew installed glew issue (#2900)
This commit is contained in:
parent
ca556f8550
commit
d98db10fae
1 changed files with 9 additions and 1 deletions
|
@ -5,4 +5,12 @@ brew tap tcr/tcr
|
||||||
brew install clang-format
|
brew install clang-format
|
||||||
# from Homebrew 1.6.0 the old formula for obtaining Qt5.9.2 becomes invalid.
|
# from Homebrew 1.6.0 the old formula for obtaining Qt5.9.2 becomes invalid.
|
||||||
# so we start to use the latest version of Qt. (#1910)
|
# so we start to use the latest version of Qt. (#1910)
|
||||||
brew install qt
|
brew install qt
|
||||||
|
# temp workaround to brew installed glew cmake info overriding glew lib detection
|
||||||
|
# which causes compiling issues later
|
||||||
|
if [ -L /usr/local/lib/cmake/glew ]
|
||||||
|
then
|
||||||
|
echo "Symbolic link '/usr/local/lib/cmake/glew' detected. Removing to avoid glew lib detection issue!"
|
||||||
|
ls -l /usr/local/lib/cmake/glew
|
||||||
|
rm /usr/local/lib/cmake/glew
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue