Commit d97b32f4 authored by Patrik Huber's avatar Patrik Huber

Added pybind11_glm header to CMakeLists

parent 942644fd
...@@ -43,7 +43,7 @@ add_executable(json-to-cereal-binary json-to-cereal-binary.cpp) ...@@ -43,7 +43,7 @@ add_executable(json-to-cereal-binary json-to-cereal-binary.cpp)
target_link_libraries(json-to-cereal-binary ${OpenCV_LIBS} ${Boost_LIBRARIES}) target_link_libraries(json-to-cereal-binary ${OpenCV_LIBS} ${Boost_LIBRARIES})
# Generate python bindings using pybind11: # Generate python bindings using pybind11:
if(GENERATE_PYTHON_BINDINGS) if(GENERATE_PYTHON_BINDINGS)
pybind11_add_module(python-bindings generate-python-bindings.cpp) pybind11_add_module(python-bindings generate-python-bindings.cpp pybind11_glm.hpp)
target_link_libraries(python-bindings PRIVATE ${OpenCV_LIBS} ${Boost_LIBRARIES}) target_link_libraries(python-bindings PRIVATE ${OpenCV_LIBS} ${Boost_LIBRARIES})
set_target_properties(python-bindings PROPERTIES OUTPUT_NAME eos) set_target_properties(python-bindings PROPERTIES OUTPUT_NAME eos)
install(TARGETS python-bindings DESTINATION bin) install(TARGETS python-bindings DESTINATION bin)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment