forked from bartvdbraak/blender
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:
parent
e893430a63
commit
2584a2a4e7
@ -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}"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user