cmake: fix an old regression with CMAKE_BUILD_STRIP option

Fix issue #673
This commit is contained in:
Gregory Hainaut 2015-07-24 19:24:40 +02:00
parent 786944098a
commit 9ffb76798d
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ macro(add_pcsx2_executable exe srcs libs flags)
target_link_libraries(${exe} ${libs})
append_flags(${exe} "${flags}")
if(NOT USER_CMAKE_LD_FLAGS STREQUAL "")
target_link_libraries(${lib} "${USER_CMAKE_LD_FLAGS}")
target_link_libraries(${exe} "${USER_CMAKE_LD_FLAGS}")
endif(NOT USER_CMAKE_LD_FLAGS STREQUAL "")
if(PACKAGE_MODE)
install(TARGETS ${exe} DESTINATION ${BIN_DIR})