From: Elias Fleckenstein Date: Mon, 25 Apr 2022 14:03:17 +0000 (+0200) Subject: Revert "Link to dl library" X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=b23390e443baca0a93bf2a7939d0518fdc6f4ed8;p=sqlite3-cmake.git Revert "Link to dl library" This reverts commit 6f9260998df020d8b2639feb8c815f9816364e90. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f4a3fb..8099778 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 dl ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS}) + target_link_libraries(sqlite m ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS}) install(TARGETS sqlite RUNTIME DESTINATION bin) endif()