From d7a891483fda39ac4a5457ed56538fc196fb3fe8 Mon Sep 17 00:00:00 2001 From: Keith Francois <francois.keith@lirmm.fr> Date: Tue, 17 Apr 2012 14:42:00 +0200 Subject: [PATCH] Correct the link with boost on Ubuntu 11.04. This does not affect the compilation on Ubuntu 10.04. --- src/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 83fd054..a2bff00 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,9 +45,7 @@ FOREACH(lib ${libs}) TARGET_LINK_LIBRARIES(${lib} "${${lib}_plugins_dependencies}") ENDIF(${lib}_plugins_dependencies) - IF (APPLE) - TARGET_LINK_LIBRARIES(${lib} ${Boost_LIBRARIES}) - ENDIF (APPLE) + TARGET_LINK_LIBRARIES(${lib} ${Boost_LIBRARIES}) PKG_CONFIG_USE_DEPENDENCY(${lib} jrl-dynamics) PKG_CONFIG_USE_DEPENDENCY(${lib} hrp2-dynamics) -- GitLab