Commit 1582f8d7 authored by Steven Murray's avatar Steven Murray
Browse files

Added ORACLE-INSTANTCLIENT_RPATH to test binaries

parent b25c93d8
......@@ -44,6 +44,9 @@ target_link_libraries(cta-unitTests
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})
endif (OCCI_SUPPORT)
add_executable(cta-catalogueUnitTests
CatalogueUnitTestsCmdLineArgs.cpp
......@@ -56,6 +59,10 @@ target_link_libraries(cta-catalogueUnitTests
gtest
pthread)
if (OCCI_SUPPORT)
set_target_properties(cta-catalogueUnitTests PROPERTIES INSTALL_RPATH ${ORACLE-INSTANTCLIENT_RPATH})
endif (OCCI_SUPPORT)
add_executable(cta-unitTests-multiProcess
unit_tests.cpp
${GMOCK_SRC})
......@@ -70,6 +77,9 @@ target_link_libraries(cta-unitTests-multiProcess
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})
endif (OCCI_SUPPORT)
add_library(unitTestHelper
TempFile.cpp)
......
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