Skip to content

Commit

Permalink
Bump minimal required CMake version
Browse files Browse the repository at this point in the history
Currently, it doesn't configure properly on cmake-3.5.0 with 2 errors:
- CMake Error at CMakeLists.txt:51 (include)
  include could not find load file: FetchContent
- CMake Error at source/layers/validation/CMakeLists.txt:39 (install):
  install TARGETS given unknown argument "NAMELINK_COMPONENT".
  • Loading branch information
lukaszstolarczuk committed Oct 21, 2024
1 parent 6fa9416 commit 3aa9755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2020-2024 Intel Corporation
# SPDX-License-Identifier: MIT

cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.12.0 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
Expand Down

0 comments on commit 3aa9755

Please sign in to comment.