Fix openvdb configure process with unusable vdb_print
This commit is contained in:
parent
73c9f939e0
commit
f0451439ae
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ function(OPENVDB_ABI_VERSION_FROM_PRINT OPENVDB_PRINT)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(_OpenVDB_ABI)
|
set(_OpenVDB_ABI)
|
||||||
string(REGEX REPLACE ".*abi([0-9]*).*" "\\1" _OpenVDB_ABI ${_VDB_PRINT_VERSION_STRING})
|
if (_VDB_PRINT_VERSION_STRING)
|
||||||
|
string(REGEX REPLACE ".*abi([0-9]*).*" "\\1" _OpenVDB_ABI ${_VDB_PRINT_VERSION_STRING})
|
||||||
|
endif ()
|
||||||
if(${_OpenVDB_ABI} STREQUAL ${_VDB_PRINT_VERSION_STRING})
|
if(${_OpenVDB_ABI} STREQUAL ${_VDB_PRINT_VERSION_STRING})
|
||||||
set(_OpenVDB_ABI "")
|
set(_OpenVDB_ABI "")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue