1
0
Fork 0

Add missed CMAKE_DL_LIBS

This commit is contained in:
Ilya Fedin 2021-09-09 01:14:19 +04:00 committed by John Preston
parent e97617c7c5
commit 1ad8c72d78
3 changed files with 3 additions and 1 deletions

View file

@ -42,7 +42,7 @@ if (NOT JEMALLOC_FOUND)
target_link_libraries(external_jemalloc_bundled target_link_libraries(external_jemalloc_bundled
INTERFACE INTERFACE
dl ${CMAKE_DL_LIBS}
pthread pthread
) )

View file

@ -17,6 +17,7 @@ target_compile_definitions(linux_gtk_helper PRIVATE G_LOG_DOMAIN="GtkHelper")
target_link_libraries(linux_gtk_helper target_link_libraries(linux_gtk_helper
PUBLIC PUBLIC
desktop-app::external_glib desktop-app::external_glib
${CMAKE_DL_LIBS}
) )
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)

View file

@ -18,4 +18,5 @@ target_link_libraries(linux_wayland_helper
PUBLIC PUBLIC
desktop-app::external_glib desktop-app::external_glib
desktop-app::external_gsl desktop-app::external_gsl
${CMAKE_DL_LIBS}
) )