SQLite needs to be linked with -ldl on some Linux distros.

This commit is contained in:
Kahrl 2011-09-15 01:11:18 +02:00 committed by Perttu Ahola
parent 7f51bccf47
commit 40707e3c5b
1 changed files with 1 additions and 1 deletions

View File

@ -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)