1 get_property(languages GLOBAL PROPERTY ENABLED_LANGUAGES)
3 if(CMAKE_SYSTEM_NAME MATCHES "AIX")
4 foreach(lang IN LISTS languages)
5 set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> -X32_64 qc <TARGET> <LINK_FLAGS> <OBJECTS>")
6 set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> -X32_64 q <TARGET> <LINK_FLAGS> <OBJECTS>")
7 set(CMAKE_${lang}_ARCHIVE_FINISH "<CMAKE_RANLIB> -X32_64 <TARGET>")