summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-07-09 12:49:01 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-07-09 12:49:01 (GMT)
commit9c5132a586562c00511fd8ff2bac0250c70dae95 (patch)
tree962764294cab0533f6a2853b209f6e51d3c15f07
parent8a93de080c7c053237b3f34bc4f8312434e524bf (diff)
downloadCMake-9c5132a586562c00511fd8ff2bac0250c70dae95.zip
CMake-9c5132a586562c00511fd8ff2bac0250c70dae95.tar.gz
CMake-9c5132a586562c00511fd8ff2bac0250c70dae95.tar.bz2
PGI: Fix "LINKER:" prefix generated separator
Fix a typo from commit 66ea1a3795 (LINK_OPTIONS: Add support of "LINKER:" prefix, 2018-04-30, v3.13.0-rc1~437^2).
-rw-r--r--Modules/Compiler/PGI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/PGI.cmake b/Modules/Compiler/PGI.cmake
index 4f8b90b..d111be9 100644
--- a/Modules/Compiler/PGI.cmake
+++ b/Modules/Compiler/PGI.cmake
@@ -26,7 +26,7 @@ macro(__compiler_pgi lang)
endif()
set(CMAKE_${lang}_LINKER_WRAPPER_FLAG "-Wl,")
- set(CMAKE_${lang}_LINKER_WRAPPER_FLAG ",")
+ set(CMAKE_${lang}_LINKER_WRAPPER_FLAG_SEP ",")
set(_CMAKE_${lang}_IPO_SUPPORTED_BY_CMAKE YES)
if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL ppc64le AND (NOT CMAKE_HOST_WIN32 OR CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 16.3))