We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b86884 commit fdc3afeCopy full SHA for fdc3afe
1 file changed
test/snippet/CMakeLists.txt
@@ -36,7 +36,7 @@ macro (sharg_snippet test_name_prefix snippet snippet_base_path)
36
add_test (NAME "${snippet_compare_test_target}"
37
COMMAND ${CMAKE_COMMAND} -DTARGET_FILE=$<TARGET_FILE:${target}>
38
-DSOURCE_FILE=${snippet_base_path}/${snippet} -P
39
- "${CMAKE_SOURCE_DIR}/compare_snippet_output.cmake")
+ "${CMAKE_CURRENT_SOURCE_DIR}/compare_snippet_output.cmake")
40
41
# disable version checker, as it interferes with comparing the snippet output
42
set_tests_properties ("${snippet_compare_test_target}" PROPERTIES ENVIRONMENT SHARG_NO_VERSION_CHECK=0)
0 commit comments