Fix deps build cmake error on macOS and Linux

This commit is contained in:
Brecht Van Lommel
2023-06-06 18:41:09 +02:00
parent c7a804fe9e
commit e562a8891f

View File

@@ -95,7 +95,7 @@ set(USD_EXTRA_ARGS
# Ray: I'm not sure if the other platforms relied on this or not but this is no longer
# needed for windows. If mac/lin confirm, this can be removed.
if(NOT WIN32)
LIST(append USD_EXTRA_ARGS
list(APPEND USD_EXTRA_ARGS
# USD wants the tbb debug lib set even when you are doing a release build
# Otherwise it will error out during the cmake configure phase.
-DTBB_LIBRARIES_DEBUG=${LIBDIR}/tbb/lib/${LIBPREFIX}${TBB_LIBRARY}${SHAREDLIBEXT}