Skip to content

Commit

Permalink
use cmake default install location for fabm0d and test it in GitHub a…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
jornbr committed Nov 20, 2023
1 parent 1240c0f commit 6ca848f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/fabm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,6 @@ jobs:
- name: Build
run: |
cmake -S src/drivers/0d -B build -DGOTM_BASE=gotm -DFABM_USE_NetCDF=OFF
cmake --build build
cmake --build build --target install
stat ~/local/fabm/0d/bin/fabm0d
3 changes: 1 addition & 2 deletions src/drivers/0d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,4 @@ else()
endif()
message(STATUS "Installation prefix: ${CMAKE_INSTALL_PREFIX}")

install(TARGETS fabm0d
DESTINATION bin)
install(TARGETS fabm0d)

0 comments on commit 6ca848f

Please sign in to comment.