diff --git a/CMakeLists.txt b/CMakeLists.txt index 1349882..e8489e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,8 @@ else() string(JOIN "\n" EXT2 "if(NOT TARGET ${libName})" " add_library(${libName} INTERFACE IMPORTED)" + " find_package(Iconv REQUIRED)" + " target_link_libraries(${libName} INTERFACE Iconv::Iconv)" "endif()" "" )