From 6f9260998df020d8b2639feb8c815f9816364e90 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 25 Apr 2022 15:56:34 +0200 Subject: [PATCH] Link to dl library --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8099778..5f4a3fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ if(WIN32) install(FILES sqlite3.exe DESTINATION bin) else() include(FindThreads) - target_link_libraries(sqlite m ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS}) + target_link_libraries(sqlite m dl ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS}) install(TARGETS sqlite RUNTIME DESTINATION bin) endif() -- 2.44.0