forked from bartvdbraak/blender
CMake: Do not force set root folder for Alembic
it is incorrect to set ROOT_DIR and then call find_package. If something is expected to be in a given location use hardcoded locations (for the precompiled libraries). Otherwise just use find_package() and let users to set ROOT_DIT when it is required.
This commit is contained in:
parent
a7f6f900f3
commit
bccaa994f1
@ -1102,7 +1102,6 @@ if(UNIX AND NOT APPLE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_ALEMBIC)
|
if(WITH_ALEMBIC)
|
||||||
set(ALEMBIC_ROOT_DIR ${LIBDIR}/alembic)
|
|
||||||
find_package_wrapper(Alembic)
|
find_package_wrapper(Alembic)
|
||||||
|
|
||||||
if(WITH_ALEMBIC_HDF5)
|
if(WITH_ALEMBIC_HDF5)
|
||||||
|
Loading…
Reference in New Issue
Block a user