summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/AIX-GNU.cmake
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-17 17:23:34 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-05-17 17:26:11 (GMT)
commit9e24af01375d370ae84c40a95501aa5a33d3fe97 (patch)
treecb39dc478d6e4742d143244a16cffe75ff22539c /Modules/Platform/AIX-GNU.cmake
parent3f25f873f8f0cd4c9c8d5dce29535c6b2757eaea (diff)
downloadCMake-9e24af01375d370ae84c40a95501aa5a33d3fe97.zip
CMake-9e24af01375d370ae84c40a95501aa5a33d3fe97.tar.gz
CMake-9e24af01375d370ae84c40a95501aa5a33d3fe97.tar.bz2
Use string(APPEND) in Modules
Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_\$\{\}]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
Diffstat (limited to 'Modules/Platform/AIX-GNU.cmake')
-rw-r--r--Modules/Platform/AIX-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/AIX-GNU.cmake b/Modules/Platform/AIX-GNU.cmake
index ca6e97c..7f08c4a 100644
--- a/Modules/Platform/AIX-GNU.cmake
+++ b/Modules/Platform/AIX-GNU.cmake
@@ -19,7 +19,7 @@ string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " -Wl,-brtl")
macro(__aix_compiler_gnu lang)
set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-blibpath:")
set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":")
- set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS} -Wl,-G,-bnoipath")
+ string(APPEND CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS " -Wl,-G,-bnoipath")
set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-bexpall")
set(CMAKE_${lang}_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH 1)