Skip to content

Commit

Permalink
Make sure plugins are copied to python build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
scotty007 committed Sep 11, 2020
1 parent 503ee90 commit f692ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ message(STATUS "Using python interpreter: ${PYTHON_INTERPRETER}")

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in" "${CMAKE_CURRENT_BINARY_DIR}/setup.py")

add_custom_target(python-build ALL DEPENDS avg
add_custom_target(python-build ALL DEPENDS avg colorplugin collisiondetector
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:avg>"
"${CMAKE_CURRENT_BINARY_DIR}/libavg/")

Expand Down

0 comments on commit f692ef7

Please sign in to comment.