1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-26 15:10:35 -04:00
ports/graphics/blender-lts28/files/patch-CMakeLists.txt
Dima Panov 3eb839e43e graphics/blender-lts28: update to 2.83.18 release
This also includes adjustment to use new ports for opencoloriov1 and openimageio-ociov1

PR:		260311
Sponsored by:	Netzkommune GmbH.
2022-02-01 20:04:14 +03:00

23 lines
768 B
Text

--- CMakeLists.txt.orig 2019-07-31 13:12:04 UTC
+++ CMakeLists.txt
@@ -613,11 +613,6 @@ if(NOT WITH_PYTHON)
set(WITH_DRACO OFF)
endif()
-if(WITH_DRACO AND NOT WITH_PYTHON_INSTALL)
- message(STATUS "WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now")
- set(WITH_DRACO OFF)
-endif()
-
# enable boost for cycles, audaspace or i18n
# otherwise if the user disabled
if(NOT WITH_BOOST)
@@ -1552,7 +1547,7 @@ elseif(
CMAKE_C_COMPILER_ID MATCHES "Intel"
)
# TODO(sergey): Do we want c++11 or gnu-c++11 here?
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
else()
message(FATAL_ERROR "Unknown compiler ${CMAKE_C_COMPILER_ID}, can't enable C++11 build")
endif()