Skip to content

Commit

Permalink
Fixes by cmake-format
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Jan 26, 2024
1 parent de58f3d commit c0921a1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ApplicationExeCode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -442,14 +442,15 @@ endif(RESINSIGHT_ENABLE_GRPC)
# bundle libraries together with private installation
if(RESINSIGHT_PRIVATE_INSTALL)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

set(RESINSIGHT_INSTALL_RPATH "" CACHE STRING "RPATH to be injected into binary")

set(RESINSIGHT_INSTALL_RPATH
""
CACHE STRING "RPATH to be injected into binary"
)
mark_as_advanced(FORCE RESINSIGHT_INSTALL_RPATH)

# Add ORIGIN to represent the directory where the binary is located
set(RESINSIGHT_INSTALL_RPATH ${RESINSIGHT_INSTALL_RPATH}
"\$ORIGIN"
)
set(RESINSIGHT_INSTALL_RPATH ${RESINSIGHT_INSTALL_RPATH} "\$ORIGIN")

if(${RESINSIGHT_USE_ODB_API})
# This is a "hack" to make ResInsight runtime find the ODB so files used
Expand Down

0 comments on commit c0921a1

Please sign in to comment.