From: Kahrl Date: Wed, 14 Sep 2011 23:11:18 +0000 (+0200) Subject: SQLite needs to be linked with -ldl on some Linux distros. X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=40707e3c5bc730ebc5780b1c545c5daeb3353a42;p=zefram%2Fminetest%2Fminetest_engine.git SQLite needs to be linked with -ldl on some Linux distros. --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9c3b0960..c479b4e7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -74,7 +74,7 @@ else() endif(APPLE) endif(BUILD_CLIENT) find_package(ZLIB REQUIRED) - set(PLATFORM_LIBS -lpthread) + set(PLATFORM_LIBS -lpthread ${CMAKE_DL_LIBS}) #set(CLIENT_PLATFORM_LIBS -lXxf86vm) # This way Xxf86vm is found on OpenBSD too find_library(XXF86VM_LIBRARY Xxf86vm)