diff --git a/CMakeLists.txt b/CMakeLists.txt index c77975d3b94..d32c5adaac4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1990,14 +1990,16 @@ elseif(WIN32) endif() if(WITH_ALEMBIC) - set(ALEMBIC_ROOT_DIR ${LIBDIR}/alembic) + # TODO(sergey): For until someone drops by and compiles libraries for + # MinGW we allow users to compile their own Alembic library and use + # that via find_package(), + # + # Once precompiled libraries are there we'll use hardcoded locations. find_package_wrapper(Alembic) - if(WITH_ALEMBIC_HDF5) set(HDF5_ROOT_DIR ${LIBDIR}/hdf5) find_package_wrapper(HDF5) endif() - if(NOT ALEMBIC_FOUND OR (WITH_ALEMBIC_HDF5 AND NOT HDF5_FOUND)) set(WITH_ALEMBIC OFF) set(WITH_ALEMBIC_HDF5 OFF)