diff --git a/tests/python/CMakeLists.txt b/tests/python/CMakeLists.txt index 9be50f672..510b620ca 100644 --- a/tests/python/CMakeLists.txt +++ b/tests/python/CMakeLists.txt @@ -22,3 +22,6 @@ set_property(TEST ${pytest_name} APPEND PROPERTY ENVIRONMENT "OMP_NUM_THREADS=2" # set PYTHONPATH and PATH (for .dll files) impactx_test_set_pythonpath(${pytest_name}) + +install(DIRECTORY ${ImpactX_SOURCE_DIR}/src/python/impactx + DESTINATION ${CMAKE_BINARY_DIR}/lib/site-packages/impactx)