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:
Diffstat (limited to 'build_files/buildbot/config/blender_linux.cmake')
-rw-r--r--build_files/buildbot/config/blender_linux.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/buildbot/config/blender_linux.cmake b/build_files/buildbot/config/blender_linux.cmake
index ed5417c1c6e..320edab65e8 100644
--- a/build_files/buildbot/config/blender_linux.cmake
+++ b/build_files/buildbot/config/blender_linux.cmake
@@ -21,6 +21,10 @@ else()
message(FATAL_ERROR "Unknown build environment")
endif()
+# Use backported version of the compiler instead of a system default one
+set(CMAKE_C_COMPILER "/usr/bin/gcc-6" CACHE STRING "" FORCE)
+set(CMAKE_CXX_COMPILER "/usr/bin/g++-6" CACHE STRING "" FORCE)
+
# Default to only build Blender, not the player
set(WITH_BLENDER ON CACHE BOOL "" FORCE)
set(WITH_PLAYER OFF CACHE BOOL "" FORCE)