Skip to content

Commit 2c56fae

Browse files
committed
Fix missing yaml-cpp link
1 parent ee4b870 commit 2c56fae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bindings/python/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ message(STATUS "PYTHON_INCLUDE_DIRS = ${PYTHON_INCLUDE_DIRS}")
1818
message(STATUS "Boost_LIBRARIES = ${Boost_LIBRARIES}")
1919
message(STATUS "PYTHON_INSTALL_PATH = ${PYTHON_INSTALL_PATH}")
2020

21-
22-
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
21+
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS} ${yaml-cpp_PKGCONFIG_INCLUDE_DIRS})
2322

2423
PYTHON_ADD_MODULE(bundle bundle.cpp)
2524
set_target_properties(bundle PROPERTIES PREFIX "")
26-
target_link_libraries(bundle
25+
target_link_libraries(bundle PUBLIC
2726
${Boost_LIBRARIES}
2827
lib_config
2928
${PYTHON_LIBRARIES}
29+
${yaml-cpp_PKGCONFIG_LIBRARIES}
3030
)
3131

3232
add_custom_target(rockpy

0 commit comments

Comments
 (0)