Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Dec 11, 2023
1 parent e3bdc7b commit 84a0f48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ if (WITH_TESTS)
if (WIN32)
# If you use the new suntax, on Windows, you need to run `cmake -C Release` instead of `cmake`.
# We do not want that, so we use the old Syntax for Windows...
add_test(${TESTLO} "$<TARGET_FILE_DIR:${TESTLO}>/${TESTLO}")
add_test("test-bidirectional-tcp" "$<TARGET_FILE_DIR:${TESTTCP}>/${TESTTCP}")
add_test(${TESTLO} "tests/${TESTLO}")
add_test("test-bidirectional-tcp" "tests/${TESTTCP}")
else()
add_test(NAME ${TESTLO} COMMAND ${TESTLO} WORKING_DIRECTORY $<TARGET_FILE_DIR:${TESTLO}>)
add_test(NAME "test-bidirectional-tcp" COMMAND ${TESTTCP} WORKING_DIRECTORY $<TARGET_FILE_DIR:${TESTTCP}>)
Expand All @@ -224,7 +224,7 @@ endif()
if (WITH_CPP_TESTS)
add_executable(${CPPTEST} ${CPPTEST_SOURCES})
if (WIN32)
add_test(${CPPTEST} "$<TARGET_FILE_DIR:${CPPTEST}>/${CPPTEST}")
add_test(${CPPTEST} "tests/${CPPTEST}")
else()
add_test(NAME ${CPPTEST} COMMAND ${CPPTEST} WORKING_DIRECTORY $<TARGET_FILE_DIR:${CPPTEST}>)
endif()
Expand Down

0 comments on commit 84a0f48

Please sign in to comment.