Add missed CMAKE_DL_LIBS
This commit is contained in:
parent
e97617c7c5
commit
1ad8c72d78
3 changed files with 3 additions and 1 deletions
2
external/jemalloc/CMakeLists.txt
vendored
2
external/jemalloc/CMakeLists.txt
vendored
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue