Skip to content

Commit cf0b562

Browse files
Bump Cmake min version (#4002)
* Bump Cmake min version * Align with root OV script
1 parent 545a1a1 commit cf0b562

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

demos/CMakeLists.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
# SPDX-License-Identifier: Apache-2.0
33
#
44

5-
cmake_minimum_required(VERSION 3.10)
5+
if(WIN32)
6+
cmake_minimum_required(VERSION 3.16)
7+
else()
8+
cmake_minimum_required(VERSION 3.13)
9+
endif()
610

711
# Multi config generators such as Visual Studio ignore CMAKE_BUILD_TYPE. Multi config generators are configured with
812
# CMAKE_CONFIGURATION_TYPES, but limiting options in it completely removes such build options

0 commit comments

Comments
 (0)