From 9ffb76798d04d11cf76460d95a9bb240442f5439 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 24 Jul 2015 19:24:40 +0200 Subject: [PATCH] cmake: fix an old regression with CMAKE_BUILD_STRIP option Fix issue #673 --- cmake/Pcsx2Utils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Pcsx2Utils.cmake b/cmake/Pcsx2Utils.cmake index 420e0f5e1d..6012668abc 100644 --- a/cmake/Pcsx2Utils.cmake +++ b/cmake/Pcsx2Utils.cmake @@ -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})