1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

graphics/blender-lts28: prepare for cmake-3.22

PR:             260123
This commit is contained in:
Tobias C. Berner 2021-12-11 10:04:27 +01:00
parent f228916ed9
commit 4b0e25639b

View File

@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2019-07-31 13:12:04 UTC
--- CMakeLists.txt.orig 2021-02-23 09:13:59 UTC
+++ CMakeLists.txt
@@ -647,11 +647,6 @@ if(NOT WITH_PYTHON)
@@ -613,11 +613,6 @@ if(NOT WITH_PYTHON)
set(WITH_DRACO OFF)
endif()
@ -11,4 +11,13 @@
-
# 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()