From bccaa994f11e02e095cf85dc4cb11431149ae384 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 9 Aug 2016 12:27:17 +0200 Subject: [PATCH] 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. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) 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)