diff options
author | Brad King <brad.king@kitware.com> | 2013-06-26 13:01:57 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-26 13:01:57 (GMT) |
commit | 1c517989405d7a25e669a25fd20f97fb112d279e (patch) | |
tree | 9e0ac96f0e0938bae072434ad14d9827f05629f2 /Modules/Compiler | |
parent | fdd558d6a6d630d4b0b1f6e84875b3f98fbc0e67 (diff) | |
parent | 2d9ec1dadfdd10043a98d425abb25d0aef117699 (diff) | |
download | CMake-1c517989405d7a25e669a25fd20f97fb112d279e.zip CMake-1c517989405d7a25e669a25fd20f97fb112d279e.tar.gz CMake-1c517989405d7a25e669a25fd20f97fb112d279e.tar.bz2 |
Merge topic 'COMPILER_TARGET'
2d9ec1d Add compiler target compile options.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/Clang.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/Clang.cmake b/Modules/Compiler/Clang.cmake index ec4562a..66b00bd 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() |