Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / build_files / cmake / platform / platform_unix.cmake
index 306a09a3a5b0421d1f41ebea045722a4c9d8fed9..32a2d6958958bf45642dde0cafb9758833c43ef2 100644 (file)
@@ -237,10 +237,14 @@ endif()
 if(WITH_OPENVDB)
        find_package_wrapper(OpenVDB)
        find_package_wrapper(TBB)
+       find_package_wrapper(Blosc)
        if(NOT OPENVDB_FOUND OR NOT TBB_FOUND)
                set(WITH_OPENVDB OFF)
                set(WITH_OPENVDB_BLOSC OFF)
                message(STATUS "OpenVDB not found, disabling it")
+       elseif(NOT BLOSC_FOUND)
+               set(WITH_OPENVDB_BLOSC OFF)
+               message(STATUS "Blosc not found, disabling it")
        endif()
 endif()