Skip to content

Commit

Permalink
Add library install options for cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
justsz committed Oct 25, 2022
1 parent 50f2285 commit 35274b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ if ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "GNU")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_options(fortran-yaml-c PRIVATE -Wunused -fcheck=all)
endif()
endif()
endif()

install(TARGETS libyaml_interface fortran-yaml-c DESTINATION lib)
install(DIRECTORY ${CMAKE_BINARY_DIR}/modules DESTINATION .)

0 comments on commit 35274b3

Please sign in to comment.