Skip to content

Commit

Permalink
Merge pull request OpenMathLib#4848 from haampie/fix/cmake-min-version
Browse files Browse the repository at this point in the history
cmake: set `CMP0042` to `NEW`
  • Loading branch information
martin-frbg authored Oct 25, 2024
2 parents ac73682 + 0e6a2cc commit a8bb105
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a8bb105

Please sign in to comment.