diff options
author | Brad King <brad.king@kitware.com> | 2022-11-04 15:28:12 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-04 15:28:23 (GMT) |
commit | 7c52e9e9511ecbd3dad2d0de493ea7329a860c5f (patch) | |
tree | 54106edf94f1bc4843f133e4f4148db9bd689b59 /Modules | |
parent | 6a999992df8bff05a5347c1dfa891dc1b18596fd (diff) | |
parent | 7e612977b9432a179c7fcc0607cd34ee6603a92d (diff) | |
download | CMake-7c52e9e9511ecbd3dad2d0de493ea7329a860c5f.zip CMake-7c52e9e9511ecbd3dad2d0de493ea7329a860c5f.tar.gz CMake-7c52e9e9511ecbd3dad2d0de493ea7329a860c5f.tar.bz2 |
Merge topic 'tasking-pic' into release-3.25
7e612977b9 Tasking: Fix PIC option for Tasking Toolset
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Christoph Seitz <christoph.seitz@posteo.de>
Merge-request: !7862
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/Tasking.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Tasking.cmake b/Modules/Compiler/Tasking.cmake index d0c2f79..419db63 100644 --- a/Modules/Compiler/Tasking.cmake +++ b/Modules/Compiler/Tasking.cmake @@ -56,7 +56,7 @@ macro(__compiler_tasking lang) endif() set(CMAKE_${lang}_VERBOSE_FLAG "-v") - set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC") + set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "--pic") set(CMAKE_${lang}_LINKER_WRAPPER_FLAG "-Wl" " ") set(CMAKE_${lang}_RESPONSE_FILE_LINK_FLAG "-f ") set(CMAKE_DEPFILE_FLAGS_${lang} "--dep-file=<DEP_FILE>") |