From e45e0eeb477629bd877e1837724e121f0c11b9ca Mon Sep 17 00:00:00 2001 From: Panagiotis Vasilopoulos Date: Tue, 20 Apr 2021 03:51:04 +0300 Subject: Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR --- Toolchain/CMake/CMakeToolchain.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Toolchain/CMake/CMakeToolchain.txt') diff --git a/Toolchain/CMake/CMakeToolchain.txt b/Toolchain/CMake/CMakeToolchain.txt index 7d9920ee2c..ef2551e943 100644 --- a/Toolchain/CMake/CMakeToolchain.txt +++ b/Toolchain/CMake/CMakeToolchain.txt @@ -4,15 +4,15 @@ if (NOT DEFINED ENV{SERENITY_ARCH}) message(FATAL_ERROR "SERENITY_ARCH not set.") endif() -if (NOT DEFINED ENV{SERENITY_ROOT}) - message(FATAL_ERROR "SERENITY_ROOT not set.") +if (NOT DEFINED ENV{SERENITY_SOURCE_DIR}) + message(FATAL_ERROR "SERENITY_SOURCE_DIR not set.") endif() set(SERENITYOS 1) set(CMAKE_SYSTEM_PROCESSOR "$ENV{SERENITY_ARCH}") -set(SERENITY_BUILD_DIR $ENV{SERENITY_ROOT}/Build/$ENV{SERENITY_ARCH}) +set(SERENITY_BUILD_DIR $ENV{SERENITY_SOURCE_DIR}/Build/$ENV{SERENITY_ARCH}) # where to read from/write to set(CMAKE_SYSROOT ${SERENITY_BUILD_DIR}/Root) @@ -28,4 +28,4 @@ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) -list(APPEND CMAKE_MODULE_PATH "$ENV{SERENITY_ROOT}/Toolchain/CMake") +list(APPEND CMAKE_MODULE_PATH "$ENV{SERENITY_SOURCE_DIR}/Toolchain/CMake") -- cgit v1.2.3