summaryrefslogtreecommitdiff
path: root/Modules/Platform/AIX-IBMClang.cmake
blob: 4e5205e1aa47f15a8f5b18876520cad97f4a6cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.


# This module is shared by multiple languages; use include blocker.
if(__AIX_COMPILER_IBMCLANG)
  return()
endif()
set(__AIX_COMPILER_IBMCLANG 1)

include(Platform/AIX-GNU)

macro(__aix_compiler_ibmclang lang)
  __aix_compiler_gnu(${lang})
  unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY)
endmacro()