diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7761f0c8d380a7237582dc6a8d6cc5f4b244d48e..2f9c25cda5c32370869d2a4dac76ac22c33241e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)