AIX-IBMClang.cmake 445 B

12345678910111213141516
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. # This module is shared by multiple languages; use include blocker.
  4. if(__AIX_COMPILER_IBMCLANG)
  5. return()
  6. endif()
  7. set(__AIX_COMPILER_IBMCLANG 1)
  8. include(Platform/AIX-GNU)
  9. macro(__aix_compiler_ibmclang lang)
  10. __aix_compiler_gnu(${lang})
  11. unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY)
  12. endmacro()