mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 14:20:17 +00:00
96e36048fd
This allows their reuse across projects. The name of the module is intentionally generic because we would like to move more platform checks there. Differential Revision: https://reviews.llvm.org/D115276
10 lines
412 B
CMake
10 lines
412 B
CMake
get_property(languages GLOBAL PROPERTY ENABLED_LANGUAGES)
|
|
|
|
if(CMAKE_SYSTEM_NAME MATCHES "AIX")
|
|
foreach(lang IN LISTS languages)
|
|
set(CMAKE_${lang}_ARCHIVE_CREATE "<CMAKE_AR> -X32_64 qc <TARGET> <LINK_FLAGS> <OBJECTS>")
|
|
set(CMAKE_${lang}_ARCHIVE_APPEND "<CMAKE_AR> -X32_64 q <TARGET> <LINK_FLAGS> <OBJECTS>")
|
|
set(CMAKE_${lang}_ARCHIVE_FINISH "<CMAKE_RANLIB> -X32_64 <TARGET>")
|
|
endforeach()
|
|
endif()
|