From a9ae120443ee378dee4351982cecffacedb2f6cf Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 4 Oct 2024 16:14:05 -0600 Subject: [PATCH 1/2] Update minimum CMake version Match that used in the current bmi-fortran specification. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 97c4ed0..828b4d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.12) # set fortran compiler # set(CMAKE_Fortran_COMPILER gfortran-mp-9) From a88bec54c44b93b2664873acee3c67a577677b80 Mon Sep 17 00:00:00 2001 From: Mark Piper Date: Fri, 4 Oct 2024 16:25:51 -0600 Subject: [PATCH 2/2] Remove obsolete rpath fix --- CMakeLists.txt | 3 --- README.md | 1 - 2 files changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 828b4d2..0460127 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,9 +11,6 @@ set(bmigipl_lib bmigiplf) set(data_dir ${CMAKE_SOURCE_DIR}/data) set(CMAKE_Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/mod) -set(CMAKE_MACOSX_RPATH 1) -set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") - add_subdirectory(GIPL) add_subdirectory(GIPL/tests) add_subdirectory(GIPL/examples) diff --git a/README.md b/README.md index 9f75802..4f5dc91 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ > `mkdir _build && cd _build` > `cmake .. -DCMAKE_INSTALL_PREFIX=[install_path]` > `make install` -> `source ../scripts/update_rpaths.sh` > `ctest` >