Commit 2b2aa892 authored by vitaut's avatar vitaut

add_subdirectory-test -> add-subdirectory-test for consistency

parent 21b8279c
...@@ -137,11 +137,11 @@ if (FMT_PEDANTIC) ...@@ -137,11 +137,11 @@ if (FMT_PEDANTIC)
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
# test if the targets are findable when add_subdirectory is used # test if the targets are findable when add_subdirectory is used
add_test(add_subdirectory-test ${CMAKE_CTEST_COMMAND} add_test(add-subdirectory-test ${CMAKE_CTEST_COMMAND}
-C ${CMAKE_BUILD_TYPE} -C ${CMAKE_BUILD_TYPE}
--build-and-test --build-and-test
"${CMAKE_CURRENT_SOURCE_DIR}/add_subdirectory-test" "${CMAKE_CURRENT_SOURCE_DIR}/add-subdirectory-test"
"${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory-test" "${CMAKE_CURRENT_BINARY_DIR}/add-subdirectory-test"
--build-generator ${CMAKE_GENERATOR} --build-generator ${CMAKE_GENERATOR}
--build-makeprogram ${CMAKE_MAKE_PROGRAM} --build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") --build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment