Skip to content

Raise minimum CMake version to 3.5 #364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion IGC/MDAutogen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
#============================ end_copyright_notice =============================

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.5)

set(_autogenScript "${IGC_SOURCE_DIR}/common/autogen.py")
set(_autogenSource "${IGC_SOURCE_DIR}/common/MDFrameWork.h")
Expand Down
2 changes: 1 addition & 1 deletion external/SPIRV-Tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
#============================ end_copyright_notice =============================

cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.5)

message(STATUS "============================ SPIRV-Tools project ============================")

Expand Down
7 changes: 1 addition & 6 deletions visa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,7 @@ if (WIN32 OR UNIX)
add_subdirectory(iga/IGAExe)
endif (WIN32 OR UNIX)

if(WIN32)
cmake_minimum_required(VERSION 3.1)
cmake_policy(SET CMP0043 OLD)
else()
cmake_minimum_required(VERSION 2.8.12)
endif(WIN32)
cmake_minimum_required(VERSION 3.5)

# In the case where this is the IGC build we need to add a dummy custom target check_headers
add_custom_target(check_headers)
Expand Down
6 changes: 1 addition & 5 deletions visa/iga/GEDLibrary/GED_external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
#============================ end_copyright_notice =============================

# GEDLibrary/GED
if(WIN32)
cmake_minimum_required(VERSION 3.1)
else()
cmake_minimum_required(VERSION 2.8.12)
endif(WIN32)
cmake_minimum_required(VERSION 3.5)

project(GEDLibrary)

Expand Down