summaryrefslogtreecommitdiff
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-26 09:01:57 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-26 09:01:57 -0400
commit1c517989405d7a25e669a25fd20f97fb112d279e (patch)
tree9e0ac96f0e0938bae072434ad14d9827f05629f2 /Modules/Compiler
parentfdd558d6a6d630d4b0b1f6e84875b3f98fbc0e67 (diff)
parent2d9ec1dadfdd10043a98d425abb25d0aef117699 (diff)
downloadcmake-1c517989405d7a25e669a25fd20f97fb112d279e.tar.gz
Merge topic 'COMPILER_TARGET'
2d9ec1d Add compiler target compile options.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/Clang.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake
index ec4562a3db..66b00bd82b 100644
--- a/Modules/Compiler/Clang.cmake
+++ b/Modules/Compiler/Clang.cmake
@@ -25,4 +25,5 @@ macro(__compiler_clang lang)
set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
set(CMAKE_INCLUDE_SYSTEM_FLAG_${lang} "-isystem ")
set(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY "-fvisibility=")
+ set(CMAKE_${lang}_COMPILE_OPTION_TARGET "-target ")
endmacro()