Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-25 14:28:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-25 14:28:03 +0300
commit7e9480b6cd74d23fddcf20ec2ed414144f1c6ba3 (patch)
treed13b7ae142fb1397b2124cc9c0b5da55e30f9fa0 /tests
parentd65f60764b46bd8216d3ecaa6451589724f84f22 (diff)
Tests: correct the blender path for non-portable installations
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 966572b23e7..8f6edcff482 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -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()