Skip to content
Snippets Groups Projects
Verified Commit bb22dc6b authored by Tim Kaune's avatar Tim Kaune
Browse files

Add INSTALL_RPATH to libf2cWithFortranMain

parent 25f80c05
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,13 @@ target_include_directories(libf2c PUBLIC
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
)
set_property(
TARGET libf2cWithFortranMain
APPEND
PROPERTY
INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
)
install(
TARGETS libf2c libf2cWithFortranMain
EXPORT NetlibF2C_Targets-library
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment