#1786 Use EXTERNAL_LINK_LIBRARIES for external binaries

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

No files matched your search

+1 -2
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()
+1 -1
View File
@@ -168,7 +168,7 @@ if (RESINSIGHT_USE_HDF5)
add_definitions(${HDF5_DEFINITIONS})
include_directories(${HDF5_INCLUDE_DIRS})
list(APPEND THIRD_PARTY_LIBRARIES
list(APPEND EXTERNAL_LINK_LIBRARIES
${HDF5_LIBRARIES}
)