Skip to content

Commit

Permalink
[cmake] fix missing find_dependency() when used as 3rd party
Browse files Browse the repository at this point in the history
  • Loading branch information
simogasp committed Apr 3, 2021
1 parent e98f0af commit 69ede84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Alembic/AlembicConfig.cmake.in
@@ -1,4 +1,7 @@
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/AlembicTargets.cmake")
include(CMakeFindDependencyMacro)
# TODO whenever we loose the back-compatibility with IlmBase < 3, a REQUIRED needs to be added to find_dependency()
find_dependency(IMath)

SET(Alembic_HAS_HDF5 @USE_HDF5@)
SET(Alembic_HAS_SHARED_LIBS @ALEMBIC_SHARED_LIBS@)

0 comments on commit 69ede84

Please sign in to comment.