mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 17:18:13 +08:00
18 lines
484 B
Diff
18 lines
484 B
Diff
diff --git a/lib/Alembic/CMakeLists.txt b/lib/Alembic/CMakeLists.txt
|
|
index 5028c91..1f81d50 100644
|
|
--- a/lib/Alembic/CMakeLists.txt
|
|
+++ b/lib/Alembic/CMakeLists.txt
|
|
@@ -49,6 +49,12 @@ ADD_SUBDIRECTORY(AbcMaterial)
|
|
ADD_SUBDIRECTORY(Ogawa)
|
|
|
|
ADD_LIBRARY(Alembic ${LIB_TYPE} ${CXX_FILES})
|
|
+IF (USE_HDF5)
|
|
+ TARGET_LINK_LIBRARIES(Alembic
|
|
+ ${HDF5_LIBRARIES}
|
|
+ )
|
|
+ ADD_DEFINITIONS(-DH5_BUILT_AS_DYNAMIC_LIB)
|
|
+ENDIF()
|
|
|
|
TARGET_INCLUDE_DIRECTORIES(Alembic
|
|
PUBLIC
|