Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-05-07 09:46:30 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-05-07 11:49:05 +0300
commit4cef33c50fe42271996fa024ce4cc502bf247748 (patch)
tree779a2099ac0c95395968e109f2ec85f036ad5867 /cmake/modules
parent34b504d50edbcd30d7ceb91059a3ca1abab17fb7 (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.cmake2
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 ()