diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-09 13:35:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-09 13:38:09 +0300 |
commit | 62b670633cc5e15bf556965c3760096544d3f2c4 (patch) | |
tree | 48564029dd4bb1b11ac90068dfc78e9d0677f18b /CMakeLists.txt | |
parent | f0bf33fd1bd8a7fdb7554644dfa31270167b0c34 (diff) |
CMake: Remove hardcoded DIR_ROOT for alembic and MinGW
Do it for until precompiled libraries are there so we can allow
MinGW users to compile their own library and pass it via ROOT_DIR.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
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) |