--- src/CMakeLists.txt.orig 2017-02-12 14:08:00.000000000 +0100 +++ src/CMakeLists.txt 2017-06-27 01:06:36.975987000 +0200 @@ -30,7 +30,7 @@ SET_TARGET_PROPERTIES( wbxml2 PROPERTIES SOVERSION ${LIBWBXML_LIBVERSION_SOVERSION} ) SET_TARGET_PROPERTIES( wbxml2 PROPERTIES VERSION ${LIBWBXML_LIBVERSION_VERSION} ) - TARGET_LINK_LIBRARIES( wbxml2 ${EXPAT_LIBRARIES} ) + TARGET_LINK_LIBRARIES( wbxml2 ${EXPAT_LIBRARIES} ${ICONV_LIBRARIES} ) INSTALL( TARGETS wbxml2 RUNTIME DESTINATION ${LIBWBXML_BIN_DIR} @@ -44,7 +44,7 @@ SET_TARGET_PROPERTIES( wbxml2_static PROPERTIES SOVERSION ${LIBWBXML_LIBVERSION_SOVERSION} ) SET_TARGET_PROPERTIES( wbxml2_static PROPERTIES VERSION ${LIBWBXML_LIBVERSION_VERSION} ) - TARGET_LINK_LIBRARIES( wbxml2_static ${EXPAT_LIBRARIES} ) + TARGET_LINK_LIBRARIES( wbxml2_static ${EXPAT_LIBRARIES} ${ICONV_LIBRARIES} ) SET_TARGET_PROPERTIES( wbxml2_static PROPERTIES OUTPUT_NAME wbxml2 ) INSTALL( TARGETS wbxml2_static