mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Add link to librt in VisualizationModules/LibCore
This is needed at least on openSUSE 12.1 and 12.2.
This commit is contained in:
parent
b0c60f0e4a
commit
543dce2ff0
@ -76,3 +76,13 @@ cvfVector4.cpp
|
||||
|
||||
add_library(${PROJECT_NAME} ${CEE_HEADER_FILES} ${CEE_SOURCE_FILES})
|
||||
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
set ( EXTERNAL_LINK_LIBRARIES
|
||||
rt
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
target_link_libraries(LibCore ${EXTERNAL_LINK_LIBRARIES})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user