Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cmake/modules/SearchInstalledSoftware.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,14 @@ if(mysql)
endif()

#---Check for Oracle-------------------------------------------------------------------
# OCCI is compiled with libstdc++ which has a different ABI than libc++.
# So we better turn of Oracle in this situation to prevent linking errors between
# ROOT using libc++ and libOracle.so using libstdc++.
if(oracle AND libcxx)
message(WARNING "Oracle not supported when compiling with libc++!")
set(oracle OFF CACHE BOOL "" FORCE)
endif()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are assuming that oracle will never deliver libraries for libc++. Can we not at this moment disable the oracle option -Doracle=OFF for the current state of the externals we use.

if(oracle)
message(STATUS "Looking for Oracle")
find_package(Oracle)
Expand Down