diff options
author | Panagiotis Vasilopoulos <hello@alwayslivid.com> | 2021-04-20 03:51:04 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-20 15:27:52 +0200 |
commit | e45e0eeb477629bd877e1837724e121f0c11b9ca (patch) | |
tree | 7ea93a0d751e72fce33291cc0c96204bc14b4064 /Toolchain/CMake/CMakeToolchain.txt | |
parent | 3f5c934ea61999d2a946daac1fd8c672da33d87a (diff) | |
download | serenity-e45e0eeb477629bd877e1837724e121f0c11b9ca.zip |
Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR
Diffstat (limited to 'Toolchain/CMake/CMakeToolchain.txt')
-rw-r--r-- | Toolchain/CMake/CMakeToolchain.txt | 8 |
1 files changed, 4 insertions, 4 deletions
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") |