diff options
author | Gordon Jess <g.jess@eu.denso.com> | 2022-11-03 09:11:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-03 12:57:20 (GMT) |
commit | 7e612977b9432a179c7fcc0607cd34ee6603a92d (patch) | |
tree | 61c4ee00cd5655fac9dc82f42af8a1cdfc137c05 /Modules/Compiler | |
parent | 4daf4c3aa950642592e546d18a65e3015841b48e (diff) | |
download | CMake-7e612977b9432a179c7fcc0607cd34ee6603a92d.zip CMake-7e612977b9432a179c7fcc0607cd34ee6603a92d.tar.gz CMake-7e612977b9432a179c7fcc0607cd34ee6603a92d.tar.bz2 |
Tasking: Fix PIC option for Tasking Toolset
Fixes: #24114
Diffstat (limited to 'Modules/Compiler')
-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>") |