diff --git a/CMakeLists.txt b/CMakeLists.txt index 16fdb96a..f81d9797 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -476,7 +476,7 @@ if(NOT WIN32 AND NOT APPLE) ) endif() -if(STATIC_SQLITE AND UNIX) +if(UNIX) target_link_libraries(${PROJECT_NAME} dl) endif()