Add link to librt in VisualizationModules/LibCore

This is needed at least on openSUSE 12.1 and 12.2.
This commit is contained in:
Ivar Ursin Nikolaisen 2012-08-27 14:03:59 +02:00
parent b0c60f0e4a
commit 543dce2ff0

View File

@ -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})