From f31cd65673eb38eefdec0d21cda21b22989b371f Mon Sep 17 00:00:00 2001 From: Pierrick Koch <pierrick.koch@gmail.com> Date: Mon, 24 Nov 2014 18:30:38 +0100 Subject: [PATCH] [wip/hyper-viewer] fix pthread link error on ubuntu 14.04 --- hyper-viewer/Makefile | 2 +- hyper-viewer/patches/patch-aa | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 hyper-viewer/patches/patch-aa diff --git a/hyper-viewer/Makefile b/hyper-viewer/Makefile index dd0f6ce9..55ac39f3 100644 --- a/hyper-viewer/Makefile +++ b/hyper-viewer/Makefile @@ -8,7 +8,7 @@ VERSION= 0.1 CATEGORIES= supervision MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=hyper_viewer/} MASTER_REPOSITORY= ${MASTER_REPOSITORY_OPENROBOTS_TRAC}hyper_viewer - +PKGREVISION= 1 MAINTAINER= arnaud.degroote@laas.fr COMMENT= Viewer for the Hyper supervision tool diff --git a/hyper-viewer/patches/patch-aa b/hyper-viewer/patches/patch-aa new file mode 100644 index 00000000..04dba87f --- /dev/null +++ b/hyper-viewer/patches/patch-aa @@ -0,0 +1,12 @@ +diff --git CMakeLists.txt CMakeLists.txt +index ebc7608..9497af3 100644 +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -41,6 +41,7 @@ add_library(hyper_viewer_lib ${VIEWER_MOC_SRCS} ${VIEWER_SRCS}) + target_link_libraries(hyper_viewer_lib ${QT_LIBRARIES}) + target_link_libraries(hyper_viewer_lib ${HYPER_LIBS}) + target_link_libraries(hyper_viewer_lib ${Boost_LIBRARIES}) ++target_link_libraries(hyper_viewer_lib pthread) + + add_executable(hyper_viewer src/main.cc) + target_link_libraries(hyper_viewer hyper_viewer_lib) -- GitLab