Skip to content

Commit eb7ed77

Browse files
committed
UPD | directory doesn't exist
1 parent eb5e048 commit eb7ed77

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ foreach(test ${MANAPIHTTP_TESTS_SOURCES})
1616
set(last_test_name ${test_name})
1717
endforeach()
1818

19+
ADD_CUSTOM_TARGET(${last_test_name}_mkdir ALL COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:${last_test_name}>)
1920
ADD_CUSTOM_TARGET(${last_test_name}_link_target ALL COMMAND ${CMAKE_COMMAND} -E create_symlink
20-
"$<TARGET_FILE:manapihttp>" "$<TARGET_FILE_DIR:${last_test_name}>/$<TARGET_FILE_NAME:manapihttp>")
21+
"$<TARGET_FILE:manapihttp>" "$<TARGET_FILE_DIR:${last_test_name}>/$<TARGET_FILE_NAME:manapihttp>"
22+
DEPENDS ${last_test_name}_mkdir)

0 commit comments

Comments
 (0)