Merge pull request #301 from LaurensVoerman/Submit_linkWithVariables
fix for visual studio trying to link "debug.lib" and "release.lib"
This commit is contained in:
commit
fa61cca6ea
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user