diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-05-07 09:46:30 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-05-07 11:49:05 +0300 |
commit | 4cef33c50fe42271996fa024ce4cc502bf247748 (patch) | |
tree | 779a2099ac0c95395968e109f2ec85f036ad5867 /cmake/modules | |
parent | 34b504d50edbcd30d7ceb91059a3ca1abab17fb7 (diff) |
Fix openvdb not being found in win when only release build is present
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindOpenVDB.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindOpenVDB.cmake b/cmake/modules/FindOpenVDB.cmake index bddc346b9..02420fed8 100644 --- a/cmake/modules/FindOpenVDB.cmake +++ b/cmake/modules/FindOpenVDB.cmake @@ -234,7 +234,7 @@ foreach(COMPONENT ${OpenVDB_FIND_COMPONENTS}) if (_is_multi) list(APPEND OpenVDB_LIB_COMPONENTS ${OpenVDB_${COMPONENT}_LIBRARY_RELEASE}) - if (MSVC OR OpenVDB_${COMPONENT}_LIBRARY_DEBUG) + if (OpenVDB_${COMPONENT}_LIBRARY_DEBUG) list(APPEND OpenVDB_LIB_COMPONENTS ${OpenVDB_${COMPONENT}_LIBRARY_DEBUG}) endif () |