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

This commit is contained in:
vitaut 2016-02-10 07:01:40 -08:00
parent 21b8279cfe
commit 2b2aa8926f
3 changed files with 3 additions and 3 deletions

View File

@ -137,11 +137,11 @@ if (FMT_PEDANTIC)
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
# 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}
--build-and-test
"${CMAKE_CURRENT_SOURCE_DIR}/add_subdirectory-test"
"${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory-test"
"${CMAKE_CURRENT_SOURCE_DIR}/add-subdirectory-test"
"${CMAKE_CURRENT_BINARY_DIR}/add-subdirectory-test"
--build-generator ${CMAKE_GENERATOR}
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")