Skip to content

Commit

Permalink
build: typo in OpenVDB version check
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed May 28, 2024
1 parent a185e6e commit f434dd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cmake/externalpackages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ checked_find_package (OpenVDB
DEFINITIONS -DUSE_OPENVDB=1)
if (OpenVDB_FOUND AND OpenVDB_VERSION VERSION_GREATER_EQUAL 10.1 AND CMAKE_CXX_STANDARD VERSION_LESS 17)
message (WARNING "${ColorYellow}OpenVDB >= 10.1 (we found ${OpenVDB_VERSION}) can only be used when we build with C++17 or higher. Disabling OpenVDB support.${ColorReset}")
set (OpeVDB_FOUND 0)
set (OpenVDB_FOUND 0)
add_compile_definitions(DISABLE_OPENVDB=1)
endif ()

checked_find_package (Ptex PREFER_CONFIG)
Expand Down

0 comments on commit f434dd3

Please sign in to comment.