File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/providers/oracle/ocispatial/cmake Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ SET (WITH_QSPATIALITE FALSE CACHE BOOL "Determines whether QSPATIALITE sql drive
86
86
SET (WITH_ORACLE FALSE CACHE BOOL "Determines whether Oracle support should be built" )
87
87
IF (WITH_ORACLE )
88
88
SET (HAVE_ORACLE TRUE )
89
+ SET (ORACLE_INCLUDEDIR "" CACHE STRING "Path to OCI headers" )
90
+ SET (ORACLE_LIBDIR "" CACHE STRING "Path to OCI libraries" )
89
91
ENDIF (WITH_ORACLE )
90
92
91
93
Original file line number Diff line number Diff line change 12
12
13
13
FIND_PATH (OCI_INCLUDE_DIR oci.h
14
14
PATHS
15
+ ${ORACLE_INCLUDEDIR}
15
16
/usr/include/oracle/11.2/client64
16
17
$ENV{OSGEO4W_ROOT} /include
17
18
$ENV{ORACLE_HOME} /rdbms/public
18
19
)
19
20
20
21
FIND_LIBRARY (OCI_LIBRARY clntsh oci
21
22
PATHS
23
+ ${ORACLE_LIBDIR}
22
24
/usr/lib/oracle/11.2/client64/lib/
23
25
$ENV{OSGEO4W_ROOT} /lib
24
26
$ENV{ORACLE_HOME} /lib
You can’t perform that action at this time.
0 commit comments