#1786 Use EXTERNAL_LINK_LIBRARIES for external binaries

This commit is contained in:
Magne Sjaastad
2017-08-17 09:12:27 +02:00
parent 534572345d
commit 6ddf8aae27
2 changed files with 2 additions and 3 deletions

View File

@@ -306,8 +306,7 @@ set( LINK_LIBRARIES
# According to ivarun this is needed on OpenSuse, and Fedora. See: https://github.com/OPM/ResInsight/pull/7
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set ( EXTERNAL_LINK_LIBRARIES
${EXTERNAL_LINK_LIBRARIES}
list(APPEND EXTERNAL_LINK_LIBRARIES
rt
)
endif()