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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-01-27 15:51:44 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-01-27 15:51:57 +0300
commit3e5dce771fa0f6de61d50171ba7bb2c53ae58eeb (patch)
tree42fa6409dd9de1f3168f85492acd06ffac0f9675 /cmake
parent9f085c133ab56294db9f7df6e9b987fb3d2b8683 (diff)
Set OpenVDB_FOUND if no debug but release is there and not on MSVC
Diffstat (limited to 'cmake')
-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 18fecf6c5..bddc346b9 100644
--- a/cmake/modules/FindOpenVDB.cmake
+++ b/cmake/modules/FindOpenVDB.cmake
@@ -240,7 +240,7 @@ foreach(COMPONENT ${OpenVDB_FIND_COMPONENTS})
list(FIND CMAKE_CONFIGURATION_TYPES "Debug" _has_debug)
- if(OpenVDB_${COMPONENT}_LIBRARY_RELEASE AND (_has_debug LESS 0 OR OpenVDB_${COMPONENT}_LIBRARY_DEBUG))
+ if(OpenVDB_${COMPONENT}_LIBRARY_RELEASE AND (NOT MSVC OR _has_debug LESS 0 OR OpenVDB_${COMPONENT}_LIBRARY_DEBUG))
set(OpenVDB_${COMPONENT}_FOUND TRUE)
else()
set(OpenVDB_${COMPONENT}_FOUND FALSE)