Skip to content

Commit

Permalink
build release openvdb vendor (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinvkNV authored Apr 5, 2024
1 parent e1e45a4 commit aca5663
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openvdb_vendor/openvdb_vendor-extras.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Default to Release build
if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "")
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
endif()
message( STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}" )
list(APPEND CMAKE_MODULE_PATH "${openvdb_vendor_DIR}/../../../opt/openvdb_vendor/lib/cmake/OpenVDB")
find_package(OpenVDB REQUIRED)

0 comments on commit aca5663

Please sign in to comment.