Skip to content

Commit

Permalink
Some desperate CMake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmatena committed Sep 20, 2024
1 parent 6c044e6 commit 8df1a09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -573,3 +573,5 @@ if(OPENVDB_ENABLE_UNINSTALL)
COMMAND ${CMAKE_COMMAND} -P ${PROJECT_SOURCE_DIR}/cmake/Uninstall.cmake
)
endif()

find_package(Threads REQUIRED)
6 changes: 5 additions & 1 deletion cmake/FindBlosc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ set(Blosc_LIB_COMPONENTS "")
list(APPEND BLOSC_BUILD_TYPES DEBUG RELEASE)

foreach(BUILD_TYPE ${BLOSC_BUILD_TYPES})
set(_BLOSC_LIB_NAME blosc)
if(WIN32)
set(_BLOSC_LIB_NAME libblosc)
else()
set(_BLOSC_LIB_NAME blosc)
endif()

set(_BLOSC_CMAKE_IGNORE_PATH ${CMAKE_IGNORE_PATH})
if(VCPKG_TOOLCHAIN)
Expand Down

0 comments on commit 8df1a09

Please sign in to comment.