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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-06 14:41:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-06 14:41:30 +0300
commit6106d919c3654f0273be1d2eb7f7792fcd1a69ca (patch)
treea74842c1425cb5ef7b7135bb0c126cb3fd305739 /CMakeLists.txt
parenta9f08f6310fefa62c146e766c7f35876c316bf8f (diff)
CMake: Linux/Unix Only,
use 'install' target rather then copying files with post-build commands. Main change is that you need to run 'make install', which copies files to ./bin by default unless WITH_INSTALL_PORTABLE is OFF, where CMAKE_INSTALL_PREFIX is used for a typical unix-system install.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76243b854fa..047498d154e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,6 +126,9 @@ option(WITH_LZMA "Enable best LZMA compression, (used for pointcache)"
# Misc
option(WITH_RAYOPTIMIZATION "Enable use of SIMD (SSE) optimizations for the raytracer" ON)
option(WITH_INSTALL "Install accompanying scripts and language files needed to run blender" ON)
+if(UNIX AND NOT APPLE)
+ option(WITH_INSTALL_PORTABLE "Install redistributeable runtime, otherwise install into CMAKE_INSTALL_PREFIX" ON)
+endif()
option(WITH_PYTHON_INSTALL "Copy system python into the blender install folder" ON)
# Debug