forked from OpenMathLib/OpenBLAS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenMathLib#4848 from haampie/fix/cmake-min-version
cmake: set `CMP0042` to `NEW`
- Loading branch information
Showing
1 changed file
with
1 addition
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
## Author: Hank Anderson <[email protected]> | ||
## | ||
|
||
cmake_minimum_required(VERSION 2.8.5) | ||
cmake_minimum_required(VERSION 3.16.0) | ||
|
||
project(OpenBLAS C ASM) | ||
|
||
|
@@ -258,10 +258,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "AIX|Android|Linux|FreeBSD|OpenBSD|NetBSD|Drago | |
endif() | ||
endif() | ||
|
||
if (APPLE AND BUILD_SHARED_LIBS) | ||
set(CMAKE_MACOSX_RPATH ON) | ||
endif() | ||
|
||
# Seems that this hack doesn't required since macOS 11 Big Sur | ||
if (APPLE AND BUILD_SHARED_LIBS AND CMAKE_HOST_SYSTEM_VERSION VERSION_LESS 20) | ||
set (CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1) | ||
|