macOS: Added potrace in platform apple cmake
Ref T80818 Reviewed By: brecht Maniphest Tasks: T80818 Differential Revision: https://developer.blender.org/D8922
This commit is contained in:
parent
f37c83a12b
commit
08a3f01ddc
Notes:
blender-bot
2023-02-14 10:21:11 +01:00
Referenced by issue #80818, Deps: potrace 1.16
|
@ -416,6 +416,14 @@ if(WITH_GMP)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_POTRACE)
|
||||
find_package(Potrace)
|
||||
if(NOT POTRACE_FOUND)
|
||||
message(WARNING "potrace not found, disabling WITH_POTRACE")
|
||||
set(WITH_POTRACE OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# CMake FindOpenMP doesn't know about AppleClang before 3.12, so provide custom flags.
|
||||
if(WITH_OPENMP)
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL "7.0")
|
||||
|
|
Loading…
Reference in New Issue