fix for visual studio trying to link "debug.lib" and "release.lib"

This commit is contained in:
Laurens Voerman 2017-08-17 11:44:06 +02:00
parent af79ad451e
commit c939f7f0fc

View File

@ -44,7 +44,7 @@ MACRO(LINK_WITH_VARIABLES TRGTNAME)
TARGET_LINK_LIBRARIES(${TRGTNAME} optimized "${${varname}}" debug "${${varname}_DEBUG}")
ENDIF(${varname}_RELEASE)
ELSE(${varname}_DEBUG)
TARGET_LINK_LIBRARIES(${TRGTNAME} "${${varname}}" )
TARGET_LINK_LIBRARIES(${TRGTNAME} ${${varname}} )
ENDIF(${varname}_DEBUG)
ENDFOREACH(varname)
ENDMACRO(LINK_WITH_VARIABLES TRGTNAME)