Skip to content
Snippets Groups Projects
Unverified Commit 07419415 authored by Lee Thomason's avatar Lee Thomason Committed by GitHub
Browse files

Merge pull request #662 from mschmieder/fix_testrun_windows

fixed issue where CTest is executed in the wrong directory
parents 00b74a40 3c937056
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ if(BUILD_TESTING AND BUILD_TESTS)
COMMENT "Configuring xmltest resources directory: ${CMAKE_BINARY_DIR}/resources"
)
add_test(NAME xmltest COMMAND xmltest)
add_test(NAME xmltest COMMAND xmltest WORKING_DIRECTORY $<TARGET_FILE_DIR:xmltest>)
endif()
install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment