Toolchain: Set CMAKE_AR to the right executable

This commit is contained in:
Oleg Kosenkov 2021-06-02 18:25:44 -04:00 committed by GitHub
parent 3931b292b0
commit 839aad6e5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-18 16:59:20 +09:00

View file

@ -20,6 +20,7 @@ set(CMAKE_STAGING_PREFIX ${SERENITY_BUILD_DIR}/Root/usr/local)
set(CMAKE_INSTALL_PREFIX ${SERENITY_BUILD_DIR}/Root/usr/local)
set(CMAKE_INSTALL_DATAROOTDIR ${SERENITY_BUILD_DIR}/Root/usr/local/share)
set(CMAKE_AR $ENV{SERENITY_ARCH}-pc-serenity-ar)
set(CMAKE_C_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-gcc)
set(CMAKE_CXX_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-g++)