Skip to content

Commit

Permalink
turn off extra instant client libs for win32 (I build using OSGeo4W's…
Browse files Browse the repository at this point in the history
… copy
  • Loading branch information
hobu committed Apr 11, 2013
1 parent 73769cf commit 8052dc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/modules/FindOracle.cmake
Expand Up @@ -47,9 +47,11 @@ if(DEFINED ENV{ORACLE_HOME})
${ORACLE_HOME}/OCI/lib/msvc) # Oracle XE on Windows

find_library(ORACLE_OCI_LIBRARY NAMES ${ORACLE_OCI_NAMES} PATHS ${ORACLE_LIB_DIR})

if (NOT WIN32)
find_library(ORACLE_OCCI_LIBRARY NAMES ${ORACLE_OCCI_NAMES} PATHS ${ORACLE_LIB_DIR})
find_library(ORACLE_NNZ_LIBRARY NAMES ${ORACLE_NNZ_NAMES} PATHS ${ORACLE_LIB_DIR})

endif()
set(ORACLE_LIBRARY ${ORACLE_OCI_LIBRARY} ${ORACLE_OCCI_LIBRARY} ${ORACLE_NNZ_LIBRARY})

# if(APPLE)
Expand Down

0 comments on commit 8052dc7

Please sign in to comment.