Skip to content
Snippets Groups Projects
Commit fb19bc3c authored by Steven Murray's avatar Steven Murray
Browse files

Support for OCCI is now always enabled in CMakeLists.txt

parent e3d7b1c4
Branches
Tags
No related merge requests found
......@@ -113,12 +113,12 @@ ELSE(DEFINED PackageOnly)
set (OCCI_SUPPORT ON)
# Switch OCCI support off if using gcc 5.1 or higher
if (CMAKE_COMPILER_IS_GNUCC)
if (GCC_VERSION VERSION_GREATER 5.0)
message (STATUS "Detected gcc >= 5.1 - Switching off OCCI support")
set (OCCI_SUPPORT OFF)
endif (GCC_VERSION VERSION_GREATER 5.0)
endif (CMAKE_COMPILER_IS_GNUCC)
#if (CMAKE_COMPILER_IS_GNUCC)
# if (GCC_VERSION VERSION_GREATER 5.0)
# message (STATUS "Detected gcc >= 5.1 - Switching off OCCI support")
# set (OCCI_SUPPORT OFF)
# endif (GCC_VERSION VERSION_GREATER 5.0)
#endif (CMAKE_COMPILER_IS_GNUCC)
if (OCCI_SUPPORT)
find_package (oracle-instantclient REQUIRED)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment