From 197cfd38f239a04a46781f3127a24e2982307bc7 Mon Sep 17 00:00:00 2001 From: Adrian Iain Lam Date: Wed, 13 Jan 2021 17:36:26 +0000 Subject: [PATCH] Change CMake minimum version to 3.13 --- CMakeLists.txt | 2 +- build.sh | 2 +- example/demo.patch | 9 ++++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f591f8..dc1bb34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.13) project(MouseTrackerForCubism_project) diff --git a/build.sh b/build.sh index 74c4d25..8d99c0f 100755 --- a/build.sh +++ b/build.sh @@ -3,4 +3,4 @@ mkdir -p build && cd build cmake .. -D CMAKE_BUILD_TYPE=Release -cmake --build . -j6 +cmake --build . -j 6 diff --git a/example/demo.patch b/example/demo.patch index a63374b..a083a76 100644 --- a/example/demo.patch +++ b/example/demo.patch @@ -1,7 +1,10 @@ diff -pruN --exclude build ./demo_clean/CMakeLists.txt ./demo_dev/CMakeLists.txt ---- ./demo_clean/CMakeLists.txt 2020-10-01 22:47:25.846828066 +0100 -+++ ./demo_dev/CMakeLists.txt 2021-01-01 15:36:14.720039779 +0000 -@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16) +--- ./demo_clean/CMakeLists.txt 2021-01-13 16:58:08.359828681 +0000 ++++ ./demo_dev/CMakeLists.txt 2021-01-13 17:22:01.166356692 +0000 +@@ -1,9 +1,9 @@ +-cmake_minimum_required(VERSION 3.16) ++cmake_minimum_required(VERSION 3.13) + # Set app name. set(APP_NAME Demo) # Set directory paths. -- 2.7.4