message: Add CMake dependency (related to
diff: @@ -25,11 +25,18 @@ option(LIEF_ELF "Build LIEF with ELF module" ON)
  option(LIEF_PE "Build LIEF with PE module" ON)
  option(LIEF_MACHO "Build LIEF with MachO module" ON)
  -option(LIEF_OAT "Build LIEF with OAT module" ON)
  option(LIEF_DEX "Build LIEF with DEX module" ON)
  -option(LIEF_VDEX "Build LIEF with VDEX module" ON)
  option(LIEF_ART "Build LIEF with ART module" ON)
  +# OAT support relies on the ELF and DEX format.
  +# Therefore, these options must be enabled to support use this format
  +cmake_dependent_option(LIEF_OAT "Build LIEF with OAT module" ON
  + "LIEF_ELF;LIEF_DEX" OFF)
  +
  +# VDEX format depends on the DEX module
  +cmake_dependent_option(LIEF_VDEX "Build LIEF with DEX module" ON
  + "LIEF_DEX" OFF)
  +
  # Sanitizer
  option(LIEF_ASAN "Enable Address sanitizer" OFF)
  option(LIEF_LSAN "Enable Leak sanitizer" OFF)
  