Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 584e179

Browse files
committed
public link to boost::python
1 parent c1e9107 commit 584e179

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ modernize_target_link_libraries(
7171
${PYTHON_LIBRARIES}
7272
INCLUDE_DIRS
7373
${PYTHON_INCLUDE_DIRS})
74-
target_link_boost_python(${PROJECT_NAME} PRIVATE)
74+
target_link_boost_python(${PROJECT_NAME} PUBLIC)
7575

7676
if(SUFFIX_SO_VERSION)
7777
set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})

src/dynamic_graph/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ add_library(
88
pool-py.cc signal-base-py.cc signal-wrapper.cc)
99

1010
target_link_libraries(${PYTHON_MODULE} PUBLIC ${PROJECT_NAME} eigenpy::eigenpy)
11-
target_link_boost_python(${PYTHON_MODULE} PRIVATE)
1211

1312
# Remove prefix lib
1413
set_target_properties(${PYTHON_MODULE} PROPERTIES PREFIX "")

0 commit comments

Comments
 (0)