diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-09 13:27:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-09 13:38:09 +0300 |
commit | bccaa994f11e02e095cf85dc4cb11431149ae384 (patch) | |
tree | ffca4c38c3905618e519da8128a1de1a45cc602b /CMakeLists.txt | |
parent | a7f6f900f373bda23d90e86a407e0d36fbdd8a03 (diff) |
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.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ec3abfa3077..01ca0d014b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |