Skip to content

Commit 67b4f5f

Browse files
committed
[CMake] export Boost::program_options
as it should be a private link, but on a target that use pkg_config_use_dependency, which doesn't allow public/private keyworld yet
1 parent 9390116 commit 67b4f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
3535
# Project dependencies
3636
SET(CATKIN_REQUIRED_COMPONENTS roscpp std_msgs message_generation std_srvs geometry_msgs sensor_msgs tf2_ros
3737
realtime_tools)
38-
FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options)
38+
ADD_PROJECT_DEPENDENCY(Boost REQUIRED COMPONENTS program_options)
3939

4040
IF(BUILD_PYTHON_INTERFACE)
4141
FINDPYTHON()

0 commit comments

Comments
 (0)