-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in fix_examples_osx (pull request #1155)
Fix build for two example plugins on osx
- Loading branch information
Showing
5 changed files
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
include (FindPkgConfig) | ||
if (PKG_CONFIG_FOUND) | ||
pkg_check_modules(GAZEBO gazebo) | ||
endif() | ||
find_package(Boost REQUIRED system) | ||
include_directories(${Boost_INCLUDE_DIRS}) | ||
link_directories(${Boost_LIBRARY_DIRS}) | ||
|
||
find_package(gazebo REQUIRED) | ||
include_directories(${GAZEBO_INCLUDE_DIRS}) | ||
link_directories(${GAZEBO_LIBRARY_DIRS}) | ||
|
||
add_library(animate_joints SHARED animate_joints.cc) | ||
target_link_libraries(animate_joints ${GAZEBO_LIBRARIES}) | ||
target_link_libraries(animate_joints ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
include (FindPkgConfig) | ||
if (PKG_CONFIG_FOUND) | ||
pkg_check_modules(GAZEBO gazebo) | ||
endif() | ||
find_package(Boost REQUIRED system) | ||
include_directories(${Boost_INCLUDE_DIRS}) | ||
link_directories(${Boost_LIBRARY_DIRS}) | ||
|
||
find_package(gazebo REQUIRED) | ||
include_directories(${GAZEBO_INCLUDE_DIRS}) | ||
link_directories(${GAZEBO_LIBRARY_DIRS}) | ||
|
||
add_library(animate_pose SHARED animate_pose.cc) | ||
target_link_libraries(animate_pose ${GAZEBO_libraries}) | ||
target_link_libraries(animate_pose ${GAZEBO_LIBRARIES} ${Boost_LIBRARY_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
include (FindPkgConfig) | ||
if (PKG_CONFIG_FOUND) | ||
pkg_check_modules(GAZEBO gazebo) | ||
endif() | ||
find_package(Boost REQUIRED system) | ||
include_directories(${Boost_INCLUDE_DIRS}) | ||
link_directories(${Boost_LIBRARY_DIRS}) | ||
|
||
find_package(gazebo REQUIRED) | ||
include_directories(${GAZEBO_INCLUDE_DIRS}) | ||
link_directories(${GAZEBO_LIBRARY_DIRS}) | ||
|
||
add_library(parameters SHARED parameters.cc) | ||
target_link_libraries(parameters ${GAZEBO_libraries}) | ||
target_link_libraries(parameters ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
include (FindPkgConfig) | ||
if (PKG_CONFIG_FOUND) | ||
pkg_check_modules(GAZEBO gazebo) | ||
endif() | ||
find_package(Boost REQUIRED system) | ||
include_directories(${Boost_INCLUDE_DIRS}) | ||
link_directories(${Boost_LIBRARY_DIRS}) | ||
|
||
find_package(gazebo REQUIRED) | ||
include_directories(${GAZEBO_INCLUDE_DIRS}) | ||
link_directories(${GAZEBO_LIBRARY_DIRS}) | ||
|
||
add_library(projector_plugin SHARED projector.cc) | ||
target_link_libraries(projector_plugin ${GAZEBO_libraries}) | ||
target_link_libraries(projector_plugin ${GAZEBO_LIBRARIES} ${Boost_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters