Skip to content

Commit 58f8885

Browse files
committed
also search among COVISEDIR siblings for extern_libs
$COVISEDIR/extern_libs is not supported by cmake: CMake Error in CMakeLists.txt: Target "Fonts" INTERFACE_INCLUDE_DIRECTORIES property contains path: "....." which is prefixed in the source directory.
1 parent 67ae34d commit 58f8885

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.covise.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ if [ -z "$EXTERNLIBS" ]; then
7575
extlibs="${COVISEDIR}/extern_libs/${BASEARCH}"
7676
fi
7777

78+
if [ ! -d "$extlibs" ]; then
79+
extlibs="${COVISEDIR}/../extern_libs/${ARCHSUFFIX}"
80+
if [ ! -d "$extlibs" ]; then
81+
extlibs="${COVISEDIR}/../extern_libs/${BASEARCH}"
82+
fi
83+
fi
7884
if [ ! -d "$extlibs" ]; then
7985
extlibs="/data/extern_libs/$ARCHSUFFIX"
8086
if [ ! -d "$extlibs" ]; then

0 commit comments

Comments
 (0)