Skip to content

Commit

Permalink
Merge pull request #9 from permamodel/mdpiper/update-cmake-build
Browse files Browse the repository at this point in the history
Update CMake build
  • Loading branch information
mdpiper authored Oct 4, 2024
2 parents 10911ca + a88bec5 commit 4b864b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
> `mkdir _build && cd _build`
> `cmake .. -DCMAKE_INSTALL_PREFIX=[install_path]`
> `make install`
> `source ../scripts/update_rpaths.sh`
> `ctest`
>
Expand Down

0 comments on commit 4b864b7

Please sign in to comment.