python: fix installation of test_data
@@ -54,7 +54,7 @@ if (ADDTESTING_PHASE)
add_plugintest (python MEMLEAK WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../bindings/swig/python/)
if (INSTALL_TESTING)
- install (DIRECTORY python DESTINATION ${TARGET_TEST_DATA_FOLDER})
+ install (DIRECTORY ${CMAKE_SOURCE_DIR}/src/plugins/python/python/ DESTINATION "${TARGET_TEST_DATA_FOLDER}/python")
endif ()
else ()
