llvm-project
9 строк · 412.0 Байт
1get_property(languages GLOBAL PROPERTY ENABLED_LANGUAGES)
2
3if(CMAKE_SYSTEM_NAME MATCHES "AIX")
4foreach(lang IN LISTS languages)
5set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> -X32_64 qc <TARGET> <LINK_FLAGS> <OBJECTS>")
6set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> -X32_64 q <TARGET> <LINK_FLAGS> <OBJECTS>")
7set(CMAKE_${lang}_ARCHIVE_FINISH "<CMAKE_RANLIB> -X32_64 <TARGET>")
8endforeach()
9endif()
10