CMake: Oracle enabled by default?


ROOT Version: master
Platform: Linux 5.4 (Manjaro)
Compiler: GCC 9.3


It seems like -Doracle flag is enabled by default (I did not notice this behaviour earlier - I never explicitly enabled the oracle flag). Is this desired behaviour?

Unless I turn off the flag explicitly, I run into this error -

CMake Error at cmake/modules/FindOracle.cmake:116 (MESSAGE):
  Set -DORACLE_OCI_VERSION for your oci.  [8, 8I, 9I, 10G, 10G_R2]

By default the config tries to build several plugins if the underlying requirement are there. I suspect your case oracle is only “partially” there.