summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Apple-Clang.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Apple-Clang.cmake')
-rw-r--r--Modules/Platform/Apple-Clang.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/Platform/Apple-Clang.cmake b/Modules/Platform/Apple-Clang.cmake
index 70fc75e..0681bfb 100644
--- a/Modules/Platform/Apple-Clang.cmake
+++ b/Modules/Platform/Apple-Clang.cmake
@@ -3,10 +3,7 @@
# This module is shared by multiple languages; use include blocker.
-if(__APPLE_COMPILER_CLANG)
- return()
-endif()
-set(__APPLE_COMPILER_CLANG 1)
+include_guard()
macro(__apple_compiler_clang lang)
set(CMAKE_${lang}_VERBOSE_FLAG "-v -Wl,-v") # also tell linker to print verbose output