Skip to content
Snippets Groups Projects
Commit e4efa2b9 authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Introduce a fix that was in the patches branch

parent 31d95d43
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,8 @@ IF (NOT DEFINED ORACLE_OCI_VERSION)
${ORACLE_HOME}/bin
)
IF(SQLPLUS_EXECUTABLE)
get_filename_component(bindir ${SQLPLUS_EXECUTABLE} PATH) # sqlplus executable needs its shared libraries
set(ENV{LD_LIBRARY_PATH} ${bindir}/../lib:$ENV{LD_LIBRARY_PATH})
EXECUTE_PROCESS(COMMAND ${SQLPLUS_EXECUTABLE} -version OUTPUT_VARIABLE sqlplus_out)
STRING(REGEX MATCH "([0-9.]+)" sqlplus_version ${sqlplus_out})
MESSAGE(STATUS "Found sqlplus version: ${sqlplus_version}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment