Darwin-PGI.cmake 551 B

1234567891011121314
  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(__DARWIN_COMPILER_PGI)
  5. return()
  6. endif()
  7. set(__DARWIN_COMPILER_PGI 1)
  8. macro(__darwin_compiler_pgi lang)
  9. set(CMAKE_${lang}_OSX_COMPATIBILITY_VERSION_FLAG "-Wl,-compatibility_version,")
  10. set(CMAKE_${lang}_OSX_CURRENT_VERSION_FLAG "-Wl,-current_version,")
  11. set(CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG "-Wl,-install_name")
  12. endmacro()