1# Distributed under the OSI-approved BSD 3-Clause License. See accompanying 2# file Copyright.txt or https://cmake.org/licensing for details. 3 4# This module is shared by multiple languages; use include blocker. 5include_guard() 6 7macro(__apple_compiler_pgi lang) 8 set(CMAKE_${lang}_OSX_COMPATIBILITY_VERSION_FLAG "-Wl,-compatibility_version,") 9 set(CMAKE_${lang}_OSX_CURRENT_VERSION_FLAG "-Wl,-current_version,") 10 set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,-install_name") 11endmacro() 12