Skip to content

Commit a8bb105

Browse files
authored
Merge pull request #4848 from haampie/fix/cmake-min-version
cmake: set `CMP0042` to `NEW`
2 parents ac73682 + 0e6a2cc commit a8bb105

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Author: Hank Anderson <hank@statease.com>
33
##
44

5-
cmake_minimum_required(VERSION 2.8.5)
5+
cmake_minimum_required(VERSION 3.16.0)
66

77
project(OpenBLAS C ASM)
88

@@ -258,10 +258,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "AIX|Android|Linux|FreeBSD|OpenBSD|NetBSD|Drago
258258
endif()
259259
endif()
260260

261-
if (APPLE AND BUILD_SHARED_LIBS)
262-
set(CMAKE_MACOSX_RPATH ON)
263-
endif()
264-
265261
# Seems that this hack doesn't required since macOS 11 Big Sur
266262
if (APPLE AND BUILD_SHARED_LIBS AND CMAKE_HOST_SYSTEM_VERSION VERSION_LESS 20)
267263
set (CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS 1)

0 commit comments

Comments
 (0)