From 8a628bed7ee309259040d0d030c93c26770d5372 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 25 Jul 2015 17:22:07 +0200 Subject: [PATCH] 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 --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5217643..991c6a92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() # }}}