From d98db10faea4bfc1b7e42d17ccf6a15946dcdfda Mon Sep 17 00:00:00 2001 From: manongjohn Date: Fri, 22 Nov 2019 21:30:21 -0500 Subject: [PATCH] Fix macOS brew installed glew issue (#2900) --- ci-scripts/osx/travis-install.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ci-scripts/osx/travis-install.sh b/ci-scripts/osx/travis-install.sh index 07a72a4e..0fe7be5d 100755 --- a/ci-scripts/osx/travis-install.sh +++ b/ci-scripts/osx/travis-install.sh @@ -5,4 +5,12 @@ brew tap tcr/tcr brew install clang-format # 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) -brew install qt \ No newline at end of file +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