vcpkg/ports/openvdb/blosc.patch

25 lines
689 B
Diff
Raw Normal View History

diff --git a/cmake/FindBlosc.cmake b/cmake/FindBlosc.cmake
index 5ac3780c..61ba83bc 100644
--- a/cmake/FindBlosc.cmake
+++ b/cmake/FindBlosc.cmake
@@ -45,8 +45,8 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS ( Blosc
IF ( BLOSC_FOUND )
- SET ( BLOSC_LIBRARYDIR ${BLOSC_LOCATION}/lib
- CACHE STRING "Blosc library directories")
+# SET ( BLOSC_LIBRARYDIR ${BLOSC_LOCATION}/lib
+# CACHE STRING "Blosc library directories")
SET ( _blosc_library_name "blosc" )
@@ -61,8 +61,6 @@ IF ( BLOSC_FOUND )
ENDIF()
FIND_LIBRARY ( BLOSC_blosc_LIBRARY ${_blosc_library_name}
- PATHS ${BLOSC_LIBRARYDIR}
- NO_DEFAULT_PATH
NO_SYSTEM_ENVIRONMENT_PATH
)