Skip to content

Commit 3e5ce27

Browse files
committed
Add VERBATIM to add_custom_target
1 parent 40bdcea commit 3e5ce27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/cmake_install_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ target_link_libraries(main Boost::system)
1414
enable_testing()
1515
add_test(main main)
1616

17-
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)
17+
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C $<CONFIG>)

test/cmake_subdir_test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ target_link_libraries(quick Boost::system Boost::core)
2323
enable_testing()
2424
add_test(quick quick)
2525

26-
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure --no-tests=error -C $<CONFIG>)
26+
add_custom_target(check VERBATIM COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure --no-tests=error -C $<CONFIG>)

0 commit comments

Comments
 (0)