skip packaging of embree/TBB if using system provided packages

This commit is contained in:
Eric Wasylishen 2024-07-20 18:58:49 -06:00
parent a8d33fe1a2
commit 5fc8979e54
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ cd "$BUILD_DIR"
if [ "$USE_SYSTEM_TBB_AND_EMBREE" == "1" ]; then
if [ "$USE_ASAN" == "YES" ]; then
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DERICWTOOLS_ASAN=YES
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DERICWTOOLS_ASAN=YES -DSKIP_EMBREE_INSTALL=YES -DSKIP_TBB_INSTALL=YES
else
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake .. -DCMAKE_BUILD_TYPE=Release -DSKIP_EMBREE_INSTALL=YES -DSKIP_TBB_INSTALL=YES
fi
else
wget -q https://github.com/embree/embree/releases/download/v3.13.1/embree-3.13.1.x86_64.linux.tar.gz -O embree.tgz