Merge pull request #375 from akva2/fix_ert

this makes the build system more bullet proof. thanks
This commit is contained in:
Andreas Lauser 2014-07-16 16:31:46 +02:00
commit f1cf2549a9

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)