summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@colorado.edu>2020-12-23 10:07:22 -0700
committerAndreas Kling <kling@serenityos.org>2020-12-24 11:02:04 +0100
commite4ce485309902c7a2a14fb9b652bc51f46ec8975 (patch)
tree98d2eff3fc01fceb8adccc99cc5382df86b25f4e /AK
parent6db224f020a165a065119231ab5891536d24372f (diff)
downloadserenity-e4ce485309902c7a2a14fb9b652bc51f46ec8975.zip
CMake: Decouple cmake utility functions from top-level CMakeLists.txt
Problem: - These utility functions are only used in `AK`, but are being defined in the top-level. This clutters the top-level. Solution: - Move the utility functions to `Meta/CMake/utils.cmake` and include where needed. - Also, move `all_the_debug_macros.cmake` into `Meta/CMake` directory to consolidate the location of `*.cmake` script files.
Diffstat (limited to 'AK')
-rw-r--r--AK/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/CMakeLists.txt b/AK/CMakeLists.txt
index 5fc9dcd20e..509d3d4509 100644
--- a/AK/CMakeLists.txt
+++ b/AK/CMakeLists.txt
@@ -1,2 +1,3 @@
+include(${CMAKE_SOURCE_DIR}/Meta/CMake/utils.cmake)
serenity_install_headers(AK)
serenity_install_sources(AK)