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:
Sergey Sharybin 2016-08-09 12:27:17 +02:00
parent a7f6f900f3
commit bccaa994f1
1 changed files with 0 additions and 1 deletions

View File

@ -1102,7 +1102,6 @@ if(UNIX AND NOT APPLE)
endif()
if(WITH_ALEMBIC)
set(ALEMBIC_ROOT_DIR ${LIBDIR}/alembic)
find_package_wrapper(Alembic)
if(WITH_ALEMBIC_HDF5)