Skip to content

Commit

Permalink
Per alembic#259 we don't need to INCLUDE_DIRECTORIES (and the include…
Browse files Browse the repository at this point in the history
… gets injected

in the global CMake state) in the top CMake since we have
TARGET_INCLUDED_DIRECTORIES in the library itself.
  • Loading branch information
lamiller0 authored and Qlex42 committed Sep 20, 2022
1 parent 80c5f6c commit b98bf59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Expand Up @@ -223,19 +223,16 @@ FIND_PACKAGE(Threads REQUIRED)
# We only need boost if including PyAlembic, or using it in the lib
IF (ALEMBIC_LIB_USES_BOOST OR USE_PYALEMBIC)
INCLUDE("./cmake/AlembicBoost.cmake")
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
ENDIF()

# IlmBase
INCLUDE("./cmake/AlembicIlmBase.cmake")
INCLUDE_DIRECTORIES(${ALEMBIC_ILMBASE_INCLUDE_DIRECTORY})

# HDF5
IF (USE_HDF5)
FIND_PACKAGE(ZLIB REQUIRED)
SET(ALEMBIC_WITH_HDF5 "1")
INCLUDE("./cmake/AlembicHDF5.cmake")
INCLUDE_DIRECTORIES(${HDF5_INCLUDE_DIRS})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DH5_USE_18_API")
ENDIF()

Expand Down

0 comments on commit b98bf59

Please sign in to comment.