Commit e164e0d7 authored by Steven Murray's avatar Steven Murray
Browse files

Corrected RPATH of test binaries

parent 1582f8d7
......@@ -43,9 +43,10 @@ target_link_libraries(cta-unitTests
gtest
pthread)
set_target_properties(cta-unitTests PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
if (OCCI_SUPPORT)
set_target_properties(cta-unitTests PROPERTIES INSTALL_RPATH ${ORACLE-INSTANTCLIENT_RPATH})
set_target_properties (cta-unitTests PROPERTIES INSTALL_RPATH "${ORACLE-INSTANTCLIENT_RPATH};${PROTOBUF3_RPATH}")
else (OCCI_SUPPORT)
set_target_properties (cta-unitTests PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
endif (OCCI_SUPPORT)
add_executable(cta-catalogueUnitTests
......@@ -76,9 +77,10 @@ target_link_libraries(cta-unitTests-multiProcess
${PROTOBUF3_LIBRAIRES}
sqlite3)
set_target_properties(cta-unitTests-multiProcess PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
if (OCCI_SUPPORT)
set_target_properties(cta-unitTests-multiProcess PROPERTIES INSTALL_RPATH ${ORACLE-INSTANTCLIENT_RPATH})
set_target_properties (cta-unitTests-multiProcess PROPERTIES INSTALL_RPATH "${ORACLE-INSTANTCLIENT_RPATH};${PROTOBUF3_RPATH}")
else (OOCI_SUPPORT)
set_target_properties (cta-unitTests-multiProcess PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
endif (OCCI_SUPPORT)
add_library(unitTestHelper
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment