CMake/MSVC: Fix build error for RelWithDebInfo configuration
CMake decided to link the Debug libs for MaterialX because no specific RelWithDebInfo configuration was provided, strange default imho but not difficult to fix.
This commit is contained in:
parent
13f5879e3c
commit
751c9ef620
|
@ -991,6 +991,8 @@ endif()
|
|||
|
||||
if(WITH_MATERIALX)
|
||||
include("${LIBDIR}/MaterialX/lib/cmake/MaterialX/MaterialXTargets.cmake")
|
||||
set_target_properties(MaterialXCore PROPERTIES MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE)
|
||||
set_target_properties(MaterialXFormat PROPERTIES MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE)
|
||||
endif()
|
||||
|
||||
if(WINDOWS_PYTHON_DEBUG)
|
||||
|
|
Loading…
Reference in New Issue