cmake: Correctly use the iconv libraries instead of twice the expat one

This commit is contained in:
louiz’
2017-03-12 16:51:46 +01:00
parent a6f6e36594
commit 7bf2402cad
+2 -2
View File
@@ -191,11 +191,11 @@ add_executable(test_suite EXCLUDE_FROM_ALL ${source_tests}
${source_database}) ${source_database})
target_link_libraries(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME}
${EXPAT_LIBRARIES} ${ICONV_LIBRARIES}
${LIBUUID_LIBRARIES} ${LIBUUID_LIBRARIES}
${EXPAT_LIBRARY}) ${EXPAT_LIBRARY})
target_link_libraries(test_suite target_link_libraries(test_suite
${EXPAT_LIBRARIES} ${ICONV_LIBRARIES}
${LIBUUID_LIBRARIES} ${LIBUUID_LIBRARIES}
${EXPAT_LIBRARY}) ${EXPAT_LIBRARY})
if(SYSTEMD_FOUND) if(SYSTEMD_FOUND)