Changeset View
Changeset View
Standalone View
Standalone View
build_files/buildbot/config/blender_linux.cmake
| Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | |||||
| # TODO(sergey): Remove once Python is oficially bumped to 3.7. | # TODO(sergey): Remove once Python is oficially bumped to 3.7. | ||||
| set(PYTHON_VERSION 3.7 CACHE BOOL "" FORCE) | set(PYTHON_VERSION 3.7 CACHE BOOL "" FORCE) | ||||
| # Platform specific configuration, to ensure static linking against everything. | # Platform specific configuration, to ensure static linking against everything. | ||||
| set(Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE) | set(Boost_USE_STATIC_LIBS ON CACHE BOOL "" FORCE) | ||||
| # TODO(sergey): Move up to the rest of WITH_SYSTEM and DYNLOAD configuration, | |||||
| # once old chroot is officially retired. | |||||
| set(WITH_SYSTEM_OPENJPEG ON CACHE BOOL "" FORCE) | |||||
| # We need to link OpenCOLLADA against PCRE library. Even though it is not installed | # We need to link OpenCOLLADA against PCRE library. Even though it is not installed | ||||
| # on /usr, we do not really care -- all we care is PCRE_FOUND be TRUE and its | # on /usr, we do not really care -- all we care is PCRE_FOUND be TRUE and its | ||||
| # library pointing to a valid one. | # library pointing to a valid one. | ||||
| set(PCRE_INCLUDE_DIR "/usr/include" CACHE STRING "" FORCE) | set(PCRE_INCLUDE_DIR "/usr/include" CACHE STRING "" FORCE) | ||||
| set(PCRE_LIBRARY "${LIBDIR}/opencollada/lib/libpcre.a" CACHE STRING "" FORCE) | set(PCRE_LIBRARY "${LIBDIR}/opencollada/lib/libpcre.a" CACHE STRING "" FORCE) | ||||
| endif() | endif() | ||||
| # Additional linking libraries | # Additional linking libraries | ||||
| set(CMAKE_EXE_LINKER_FLAGS "-lrt -static-libstdc++" CACHE STRING "" FORCE) | set(CMAKE_EXE_LINKER_FLAGS "-lrt -static-libstdc++" CACHE STRING "" FORCE) | ||||