mirror of
https://github.com/gflags/gflags.git
synced 2025-04-03 20:45:03 +00:00
build: support cmake 4.0 (#367)
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
b364def945
commit
70c01a642f
3 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@
|
|||
## - GFLAGS_INSTALL_SHARED_LIBS
|
||||
## - GFLAGS_INSTALL_STATIC_LIBS
|
||||
|
||||
cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR)
|
||||
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
|
||||
|
||||
if (POLICY CMP0042)
|
||||
cmake_policy (SET CMP0042 NEW)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## gflags package configuration tests
|
||||
|
||||
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
|
||||
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
|
||||
|
||||
project (gflags_${TEST_NAME})
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## gflags negative compilation tests
|
||||
|
||||
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
|
||||
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
|
||||
|
||||
if (NOT TEST_NAME)
|
||||
message (FATAL_ERROR "Missing TEST_NAME CMake flag")
|
||||
|
|
Loading…
Add table
Reference in a new issue