CMakeLists.txt: Remove "test" target

This gets rid of the following CMake warning:

CMake Warning (dev) at CMakeLists.txt:341 (add_custom_target):
  Policy CMP0037 is not set: Target names should not be reserved and should
  match a validity pattern.  Run "cmake --help-policy CMP0037" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  The target name "test" is reserved or not valid for certain CMake features,
  such as generator expressions, and may result in undefined behavior.
This warning is for project developers.  Use -Wno-dev to suppress it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-07-25 17:22:07 +02:00 committed by Daniel Hahler
parent 7b233f3d37
commit 8a628bed7e
1 changed files with 0 additions and 1 deletions

View File

@ -327,7 +327,6 @@ if(BUSTED_EXECUTABLE)
${BUSTED_EXECUTABLE} "--lpath=${CMAKE_BINARY_DIR}/lib/?.lua;${CMAKE_BINARY_DIR}/lib/?/init.lua;spec/?.lua"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
VERBATIM)
add_custom_target(test DEPENDS check)
endif()
# }}}