Fixes by cmake-format

This commit is contained in:
magnesj 2024-01-26 07:38:19 +00:00 committed by Magne Sjaastad
parent de58f3dd54
commit c0921a1fce

View File

@ -443,13 +443,14 @@ endif(RESINSIGHT_ENABLE_GRPC)
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