From 0a406fbd8e3a511e154a89dcb307ee86fc3bbd06 Mon Sep 17 00:00:00 2001 From: Nicky Date: Sun, 25 Mar 2012 16:40:40 +0200 Subject: [PATCH] Include -ldl for Linux linking, needed for older glibc versions to find dlopen. --- indra/newview/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index cc30763bbb..a75ff8a8c5 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1941,6 +1941,10 @@ if (WINDOWS) ) endif (WINDOWS) +if (LINUX) + target_link_libraries(${VIEWER_BINARY_NAME} "dl" ) +endif (LINUX) + if (USE_KDU) target_link_libraries(${VIEWER_BINARY_NAME} ${LLKDU_LIBRARIES}