1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-28 22:52:59 +04:00

fixed issue where CTest is executed in the wrong directory

This commit is contained in:
mschmieder
2018-03-08 08:31:12 +01:00
committed by GitHub
parent 0bb8767e37
commit 3c9370561c
+1 -1
View File
@@ -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})