Skip to content

Commit

Permalink
explicitly search for libidn2
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminum committed Dec 21, 2024
1 parent 5e05a9a commit ed15758
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 3rdparty/find_dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,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)
find_library(LIBIDN2 NAMES idn2 libidn2 libidn2.so.0 )
target_link_libraries(3rdparty_curl INTERFACE ${LIBIDN2})
endif()
target_link_libraries(3rdparty_curl INTERFACE 3rdparty_openssl)
endif()
Expand Down

0 comments on commit ed15758

Please sign in to comment.