Include -ldl for Linux linking, needed for older glibc versions to find dlopen.

Nicky 2012-03-25 16:40:40 +02:00
parent 47498784b0
commit 0a406fbd8e
1 changed files with 4 additions and 0 deletions

View File

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