fix for visual studio trying to link "debug.lib" and "release.lib"
This commit is contained in:
parent
af79ad451e
commit
c939f7f0fc
@ -44,7 +44,7 @@ MACRO(LINK_WITH_VARIABLES TRGTNAME)
|
|||||||
TARGET_LINK_LIBRARIES(${TRGTNAME} optimized "${${varname}}" debug "${${varname}_DEBUG}")
|
TARGET_LINK_LIBRARIES(${TRGTNAME} optimized "${${varname}}" debug "${${varname}_DEBUG}")
|
||||||
ENDIF(${varname}_RELEASE)
|
ENDIF(${varname}_RELEASE)
|
||||||
ELSE(${varname}_DEBUG)
|
ELSE(${varname}_DEBUG)
|
||||||
TARGET_LINK_LIBRARIES(${TRGTNAME} "${${varname}}" )
|
TARGET_LINK_LIBRARIES(${TRGTNAME} ${${varname}} )
|
||||||
ENDIF(${varname}_DEBUG)
|
ENDIF(${varname}_DEBUG)
|
||||||
ENDFOREACH(varname)
|
ENDFOREACH(varname)
|
||||||
ENDMACRO(LINK_WITH_VARIABLES TRGTNAME)
|
ENDMACRO(LINK_WITH_VARIABLES TRGTNAME)
|
||||||
|
Loading…
Reference in New Issue
Block a user