build: update cmakelists
This commit is contained in:
+6
-1
@@ -1,4 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.7...3.21)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.12)
|
||||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
||||
endif()
|
||||
|
||||
project(clock)
|
||||
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
Reference in New Issue
Block a user