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:
parent
7b233f3d37
commit
8a628bed7e
|
@ -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()
|
||||
# }}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue