Add 'oci' to possible Oracle Client library names

In latest Oracle Instant Client releases for windows the OCI library
name is 'oci.dll'. Add it as option to find_library call.

Change-Id: I6e6f4a998207d16583a380c1bd95db857051606b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexey Edelev 2021-01-06 14:50:03 +01:00
parent 05ec5a47ab
commit 5f867f4b1f

View File

@ -22,7 +22,7 @@ find_path(Oracle_INCLUDE_DIRS
NAMES oci.h
HINTS ${Oracle_INCLUDE_DIR})
set(ORACLE_OCI_NAMES clntsh ociei oraociei12)
set(ORACLE_OCI_NAMES clntsh ociei oraociei12 oci)
find_library(Oracle_LIBRARIES
NAMES NAMES ${ORACLE_OCI_NAMES}