diff --git a/3rdparty/find_dependencies.cmake b/3rdparty/find_dependencies.cmake index c3dc3885565..5baf5ec5aab 100644 --- a/3rdparty/find_dependencies.cmake +++ b/3rdparty/find_dependencies.cmake @@ -907,6 +907,8 @@ if(NOT USE_SYSTEM_CURL) # ``` # The "Foundation" framework is already linked by GLFW. target_link_libraries(3rdparty_curl INTERFACE "-framework SystemConfiguration") + elseif(UNIX) + target_link_libraries(3rdparty_curl INTERFACE idn2) endif() target_link_libraries(3rdparty_curl INTERFACE 3rdparty_openssl) endif()