Merge pull request #6576 from lioncash/iconv

CMakeLists: Remove iconv from the LIBS variable
This commit is contained in:
Markus Wick
2018-04-02 11:07:19 +02:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@ -44,12 +44,16 @@ add_library(common
x64Emitter.cpp
)
target_link_libraries(common PUBLIC
target_link_libraries(common
PUBLIC
${CMAKE_THREAD_LIBS_INIT}
${CURL_LIBRARIES}
enet
${MBEDTLS_LIBRARIES}
${VTUNE_LIBRARIES}
PRIVATE
${ICONV_LIBRARIES}
)
if (APPLE)
@ -65,7 +69,6 @@ if(ANDROID)
target_sources(common PRIVATE
Logging/ConsoleListenerDroid.cpp
)
target_link_libraries(common PRIVATE iconv)
elseif(WIN32)
target_sources(common PRIVATE
Logging/ConsoleListenerWin.cpp