fixed: ERT depends on libdl

this issue was triggered with static libs for ERT
This commit is contained in:
Arne Morten Kvarving
2014-07-16 13:13:49 +02:00
committed by Andreas Lauser
parent 35b66fb460
commit a3c8632358

View File

@@ -182,6 +182,9 @@ if (UNIX)
list (APPEND ERT_LIBRARIES ${MATH_LIBRARY})
endif (UNIX)
# Platform specific library where dlopen with friends lives
list (APPEND ERT_LIBRARIES ${CMAKE_DL_LIBS})
# since OpenMP often implies pthreads, we need to tidy up
# (last instance of library must be left standing, thus reversing that
# list before removing duplicates)