From 64b270aab97c35888ee00ec796b6dc0af3ccb8f9 Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 16 Feb 2014 14:38:28 +0000 Subject: [PATCH] CMake: Use CMAKE_DL_LIBS instead of searching by hand git-svn-id: https://svn.dealii.org/trunk@32493 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/configure/configure_1_threads.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/deal.II/cmake/configure/configure_1_threads.cmake b/deal.II/cmake/configure/configure_1_threads.cmake index 1d712c04b7..4a697a8358 100644 --- a/deal.II/cmake/configure/configure_1_threads.cmake +++ b/deal.II/cmake/configure/configure_1_threads.cmake @@ -208,11 +208,7 @@ MACRO(FEATURE_THREADS_CONFIGURE_BUNDLED) # # TODO: Also necessary for external lib, use preference toggle # - FIND_SYSTEM_LIBRARY(dl_LIBRARY NAMES dl) - MARK_AS_ADVANCED(dl_LIBRARY) - IF(NOT dl_LIBRARY MATCHES "-NOTFOUND") - LIST(APPEND THREADS_LIBRARIES ${dl_LIBRARY}) - ENDIF() + LIST(APPEND THREADS_LIBRARIES ${CMAKE_DL_LIBS}) LIST(APPEND THREADS_BUNDLED_INCLUDE_DIRS ${TBB_FOLDER}/include) ENDMACRO() -- 2.39.5