build/cmake: ADDITIONAL_LIBS satisfy dependency by other libraries

/usr/bin/ld: undefined reference to symbol `libiconv_open' (try adding -liconv)
This commit is contained in:
Jan Beich 2018-09-21 20:53:30 +00:00 committed by Ivan
parent 1c8fc6852a
commit efb3b08f87

View File

@ -55,9 +55,9 @@ set_target_properties(rpcs3
AUTOMOC ON AUTOMOC ON
AUTOUIC ON) AUTOUIC ON)
target_link_libraries(rpcs3 ${ADDITIONAL_LIBS})
target_link_libraries(rpcs3 rpcs3_emu rpcs3_ui) target_link_libraries(rpcs3 rpcs3_emu rpcs3_ui)
target_link_libraries(rpcs3 3rdparty::discord-rpc 3rdparty::qt5 3rdparty::hidapi) target_link_libraries(rpcs3 3rdparty::discord-rpc 3rdparty::qt5 3rdparty::hidapi)
target_link_libraries(rpcs3 ${ADDITIONAL_LIBS})
# Win resource file # Win resource file
if (WIN32) if (WIN32)