OSX: satisfy macro to also apply alembic tests
[blender.git] / build_files / cmake / platform / platform_apple.cmake
index 04485e31d981ebc222ca5bb91f0e4ac9a09294a8..6105f2e04deda296e687ab51ecd8ddf6c9c57245 100644 (file)
 
 # 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)