Skip to content

Commit

Permalink
Merge remote-tracking branch 'cmake_sharedlib_fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
bhourahine committed Jan 2, 2020
2 parents ad6e1a6 + f033e93 commit 977b5a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ target_include_directories(mpifx PUBLIC
$<BUILD_INTERFACE:${BUILD_MOD_DIR}>
$<INSTALL_INTERFACE:${INSTALL_MOD_DIR}>)

target_include_directories(mpifx PRIVATE ${MPI_Fortran_MODULE_DIR})
target_link_libraries(mpifx PRIVATE ${MPI_Fortran_LIBRARIES})

install(TARGETS mpifx
EXPORT ${INSTALL_EXPORT_NAME}
ARCHIVE DESTINATION ${INSTALL_LIB_DIR}
Expand Down

0 comments on commit 977b5a8

Please sign in to comment.