Tests: correct the blender path for non-portable installations

This commit is contained in:
Campbell Barton 2020-05-25 21:28:03 +10:00
parent d65f60764b
commit 7e9480b6cd
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@ elseif(APPLE)
set(TEST_BLENDER_EXE ${TEST_INSTALL_DIR}/Blender.app/Contents/MacOS/Blender)
set(TEST_PYTHON_EXE)
else()
set(TEST_BLENDER_EXE ${TEST_INSTALL_DIR}/blender)
if(WITH_INSTALL_PORTABLE)
set(TEST_BLENDER_EXE ${TEST_INSTALL_DIR}/blender)
else()
set(TEST_BLENDER_EXE ${TEST_INSTALL_DIR}/bin/blender)
endif()
set(TEST_PYTHON_EXE)
endif()