fix cmake copy dtaset

This commit is contained in:
Robin Dietzel 2023-11-07 12:09:36 +01:00
parent 599bf584bb
commit 825c90fdb4

View File

@ -8,7 +8,7 @@ add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat
COMMENT "Generating random dataset") COMMENT "Generating random dataset")
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat
COMMAND cmake -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/dataset.dat ${CMAKE_CURRENT_BINARY_DIR}/dataset.dat
COMMENT "Copying dataset") COMMENT "Copying dataset")
add_custom_target(task1_7_dataset add_custom_target(task1_7_dataset