diff options
Diffstat (limited to 'Modules/Platform/Apple-PGI.cmake')
-rw-r--r-- | Modules/Platform/Apple-PGI.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/Platform/Apple-PGI.cmake b/Modules/Platform/Apple-PGI.cmake index a68c08d..8d343b7 100644 --- a/Modules/Platform/Apple-PGI.cmake +++ b/Modules/Platform/Apple-PGI.cmake @@ -2,10 +2,7 @@ # file Copyright.txt or https://cmake.org/licensing for details. # This module is shared by multiple languages; use include blocker. -if(__APPLE_COMPILER_PGI) - return() -endif() -set(__APPLE_COMPILER_PGI 1) +include_guard() macro(__apple_compiler_pgi lang) set(CMAKE_${lang}_OSX_COMPATIBILITY_VERSION_FLAG "-Wl,-compatibility_version,") |