[Tarantool-patches] [PATCH] cmake: set CMP0037 policy to NEW by default

Olga Arkhangelskaia arkholga at tarantool.org
Mon Mar 16 15:15:48 MSK 2020


Remove setting old CMP0037 policy explicitly, it may be
removed in later versions of cmake.

Closes #3587
---
Branches: https://github.com/tarantool/tarantool/tree/OKriw/gh-3587-CMP0037-OLD-cmake-deprecation-warning-full-ci

 test/CMakeLists.txt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 9b5df7dc5..61bf7d5e1 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -17,10 +17,6 @@ endfunction()
 add_compile_flags("C;CXX"
     "-Wno-unused-parameter")
 
-if(POLICY CMP0037)
-    cmake_policy(SET CMP0037 OLD)
-endif(POLICY CMP0037)
-
 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/luajit-tap
     COMMAND ${CMAKE_COMMAND} -E create_symlink
         ${PROJECT_SOURCE_DIR}/third_party/luajit/test
-- 
2.20.1 (Apple Git-117)



More information about the Tarantool-patches mailing list