diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt index f3c12302e4..343d7e8f3d 100644 --- a/testing/CMakeLists.txt +++ b/testing/CMakeLists.txt @@ -13,8 +13,8 @@ endif () install( CODE "execute_process( \ COMMAND ${CMAKE_COMMAND} -E create_symlink \ - ${ZEEK_CONFIG_BTEST_TOOLS_DIR}/data \ - ${CMAKE_INSTALL_PREFIX}/share/zeek/tests \ + ../btest/data \ + \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/zeek/tests \ )") install(DIRECTORY scripts/spicy/ DESTINATION ${ZEEK_CONFIG_BTEST_TOOLS_DIR}/data/Scripts