Skip to content

Commit e8dd79e

Browse files
committed
fix python component export
1 parent bdc38da commit e8dd79e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ check_minimal_cxx_standard(14 ENFORCE)
2929

3030
# Project dependencies
3131
set(PYTHON_COMPONENTS Interpreter Development NumPy)
32-
set(PYTHON_EXPORT_DEPENDENCY ON)
3332
add_project_dependency(dynamic-graph 4.4.0 REQUIRED)
3433
add_project_dependency(eigenpy 2.7.10 REQUIRED)
34+
set(PYTHON_EXPORT_DEPENDENCY_MACROS
35+
"list(APPEND PYTHON_COMPONENTS ${PYTHON_COMPONENTS})\n${PYTHON_EXPORT_DEPENDENCY_MACROS}"
36+
)
3537
if(BUILD_TESTING)
3638
find_package(Boost REQUIRED COMPONENTS unit_test_framework)
3739
endif(BUILD_TESTING)

0 commit comments

Comments
 (0)