summaryrefslogtreecommitdiff
path: root/Toolchain/CMake
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-15 15:43:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-16 19:04:24 +0200
commitc9d535868506dfede9e79ff2af01435e9bdea420 (patch)
tree3648c02a724d8d58b3e89d73d474112ab0fe5e87 /Toolchain/CMake
parent960079b020eaf5e1e8762d8ec1c785d66342df7a (diff)
downloadserenity-c9d535868506dfede9e79ff2af01435e9bdea420.zip
Ports: Make sure ports are installed into /usr/local
Diffstat (limited to 'Toolchain/CMake')
-rw-r--r--Toolchain/CMake/CMakeToolchain.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Toolchain/CMake/CMakeToolchain.txt b/Toolchain/CMake/CMakeToolchain.txt
index 43d0538a9c..108f6897a4 100644
--- a/Toolchain/CMake/CMakeToolchain.txt
+++ b/Toolchain/CMake/CMakeToolchain.txt
@@ -18,9 +18,9 @@ set(SERENITY_BUILD_DIR $ENV{SERENITY_ROOT}/Build/$ENV{SERENITY_ARCH})
# where to read from/write to
set(CMAKE_SYSROOT ${SERENITY_BUILD_DIR}/Root)
-set(CMAKE_STAGING_PREFIX ${SERENITY_BUILD_DIR}/Root/usr)
-set(CMAKE_INSTALL_PREFIX ${SERENITY_BUILD_DIR}/Root/usr)
-set(CMAKE_INSTALL_DATAROOTDIR ${SERENITY_BUILD_DIR}/Root/usr/share)
+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_C_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-gcc)
set(CMAKE_CXX_COMPILER $ENV{SERENITY_ARCH}-pc-serenity-g++)