Fix USD unit test on buildbot

The buildbot uses a separate `CMAKE_INSTALL_PREFIX`. This means that
the unit test could not find its USD JSON files in the build directory.
Using `${CMAKE_INSTALL_PREFIX}` instead of `$<TARGET_FILE_DIR:blender>`
solved this.
This commit is contained in:
Sybren A. Stüvel 2020-07-27 18:36:19 +02:00
parent e893430a63
commit 2584a2a4e7
1 changed files with 1 additions and 1 deletions

View File

@ -69,5 +69,5 @@ gtest_discover_tests(blender_test
# So that unit tests know where to find files:
EXTRA_ARGS
--test-assets-dir "${CMAKE_SOURCE_DIR}/../lib/tests"
--test-release-dir "$<TARGET_FILE_DIR:blender>/${BLENDER_VERSION}"
--test-release-dir "${CMAKE_INSTALL_PREFIX}/${BLENDER_VERSION}"
)