SWDEV-509213 - make cmake_minimum_required consistent across clr (#51)

Change-Id: Ib0b1df7af8984a37d6bf7ca68ec99597d5978821
This commit is contained in:
Chaudhary, Jatin Jaikishan
2025-04-15 10:53:41 +01:00
committed by GitHub
parent 588cf0fc69
commit fcaefe97b8
15 changed files with 9 additions and 47 deletions
-1
View File
@@ -17,7 +17,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.16.8)
project(hip)
include(GNUInstallDirs)
-6
View File
@@ -18,12 +18,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.5.1)
if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
include(GNUInstallDirs)
set(VERSION_MAJOR_AMDHIP ${HIP_VERSION_MAJOR})
-5
View File
@@ -24,13 +24,8 @@
# Depends on: rocclr, so find_package(rocclr) will be required
# Building hip header requires hip include folders with hip_version.h
cmake_minimum_required(VERSION 3.16.1)
option(BUILD_SHARED_LIBS "Build the shared library" ON)
if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
if(BUILD_SHARED_LIBS)
@@ -18,7 +18,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.3)
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
set_and_check(hiprtc_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")