mirror of https://github.com/PCSX2/pcsx2.git
cmake: fix an old regression with CMAKE_BUILD_STRIP option
Fix issue #673
This commit is contained in:
parent
786944098a
commit
9ffb76798d
|
@ -127,7 +127,7 @@ macro(add_pcsx2_executable exe srcs libs flags)
|
||||||
target_link_libraries(${exe} ${libs})
|
target_link_libraries(${exe} ${libs})
|
||||||
append_flags(${exe} "${flags}")
|
append_flags(${exe} "${flags}")
|
||||||
if(NOT USER_CMAKE_LD_FLAGS STREQUAL "")
|
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 "")
|
endif(NOT USER_CMAKE_LD_FLAGS STREQUAL "")
|
||||||
if(PACKAGE_MODE)
|
if(PACKAGE_MODE)
|
||||||
install(TARGETS ${exe} DESTINATION ${BIN_DIR})
|
install(TARGETS ${exe} DESTINATION ${BIN_DIR})
|
||||||
|
|
Loading…
Reference in New Issue