Skip to content

Commit 1c3b69e

Browse files
committed
fix cmake warning
1 parent b38293f commit 1c3b69e

7 files changed

Lines changed: 3291 additions & 2963 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.2)
22

33
project(tars-cpp)
44

5+
if(EXISTS CMP0135)
6+
cmake_policy(SET CMP0135 NEW)
7+
endif()
8+
59
#-------------------------------------------------------------------
610

711
if("${TARS_CPP_COMMON}" STREQUAL "")

servant/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required(VERSION 3.2)
21

32
project(servant)
43

tools/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required(VERSION 3.2)
21
project(tools)
32

43
include_directories(${util_SOURCE_DIR}/include)

0 commit comments

Comments
 (0)