forked from bartvdbraak/blender
Fix running tests when building without portable install.
This commit is contained in:
parent
331f383337
commit
6877a7b3ff
@ -86,7 +86,11 @@ set(_GOOGLETEST_DISCOVER_TESTS_SCRIPT
|
|||||||
if(APPLE)
|
if(APPLE)
|
||||||
set(_test_release_dir ${TEST_INSTALL_DIR}/Blender.app/Contents/Resources/${BLENDER_VERSION})
|
set(_test_release_dir ${TEST_INSTALL_DIR}/Blender.app/Contents/Resources/${BLENDER_VERSION})
|
||||||
else()
|
else()
|
||||||
set(_test_release_dir ${TEST_INSTALL_DIR}/${BLENDER_VERSION})
|
if(WIN32 OR WITH_INSTALL_PORTABLE)
|
||||||
|
set(_test_release_dir ${TEST_INSTALL_DIR}/${BLENDER_VERSION})
|
||||||
|
else()
|
||||||
|
set(_test_release_dir ${TEST_INSTALL_DIR}/share/blender/${BLENDER_VERSION})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
gtest_discover_tests(blender_test
|
gtest_discover_tests(blender_test
|
||||||
|
Loading…
Reference in New Issue
Block a user