Grab the release in debug mode if there is no debug when not on msvc
This commit is contained in:
parent
4e27faa236
commit
e25cd1ce1a
@ -247,6 +247,10 @@ foreach(COMPONENT ${OpenVDB_FIND_COMPONENTS})
|
|||||||
|
|
||||||
set(OpenVDB_${COMPONENT}_LIBRARY ${OpenVDB_${COMPONENT}_LIBRARY_${_BUILD_TYPE}})
|
set(OpenVDB_${COMPONENT}_LIBRARY ${OpenVDB_${COMPONENT}_LIBRARY_${_BUILD_TYPE}})
|
||||||
|
|
||||||
|
if (NOT MSVC AND NOT OpenVDB_${COMPONENT}_LIBRARY)
|
||||||
|
set(OpenVDB_${COMPONENT}_LIBRARY ${OpenVDB_${COMPONENT}_LIBRARY_RELEASE})
|
||||||
|
endif ()
|
||||||
|
|
||||||
list(APPEND OpenVDB_LIB_COMPONENTS ${OpenVDB_${COMPONENT}_LIBRARY})
|
list(APPEND OpenVDB_LIB_COMPONENTS ${OpenVDB_${COMPONENT}_LIBRARY})
|
||||||
|
|
||||||
if(OpenVDB_${COMPONENT}_LIBRARY)
|
if(OpenVDB_${COMPONENT}_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user