CMake: use implicit target location in add_test

This commit is contained in:
Michael Maltese 2017-05-20 16:01:59 -07:00
parent 942cbd3c8d
commit a78ca46d9e

View File

@ -19,7 +19,7 @@ macro(add_dolphin_test target srcs)
)
target_link_libraries(${target} ${LIBS})
add_dependencies(unittests ${target})
add_test(NAME ${target} COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Tests/${target})
add_test(NAME ${target} COMMAND ${target})
endmacro()
add_subdirectory(TestUtils)