OSX: satisfy macro to also apply alembic tests
This commit is contained in:
parent
517bd13baa
commit
20c9c1b44e
Notes:
blender-bot
2023-02-14 08:29:54 +01:00
Referenced by issue #51295, Blender cant find folders with ~ at the end
|
@ -23,6 +23,10 @@
|
|||
|
||||
# Libraries configuration for Apple.
|
||||
|
||||
macro(find_package_wrapper)
|
||||
# do nothing, just satisfy the macro
|
||||
endmacro()
|
||||
|
||||
if(NOT DEFINED LIBDIR)
|
||||
if(WITH_CXX11)
|
||||
set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/darwin)
|
||||
|
@ -52,6 +56,7 @@ if(WITH_ALEMBIC)
|
|||
set(ALEMBIC_INCLUDE_DIRS ${ALEMBIC_INCLUDE_DIR})
|
||||
set(ALEMBIC_LIBPATH ${ALEMBIC}/lib)
|
||||
set(ALEMBIC_LIBRARIES Alembic)
|
||||
set(ALEMBIC_FOUND ON)
|
||||
endif()
|
||||
|
||||
if(WITH_OPENSUBDIV OR WITH_CYCLES_OPENSUBDIV)
|
||||
|
|
|
@ -443,7 +443,7 @@ if(WITH_CYCLES)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_ALEMBIC AND NOT APPLE)
|
||||
if(WITH_ALEMBIC)
|
||||
find_package_wrapper(Alembic)
|
||||
if(NOT ALEMBIC_FOUND)
|
||||
message(FATAL_ERROR "Alembic is enabled but cannot be found")
|
||||
|
|
Loading…
Reference in New Issue