2022-12-23 18:36:02 +00:00
|
|
|
# Copyright (c) 2021, Andrew Kaster <akaster@serenityos.org>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2024-06-03 12:40:19 +00:00
|
|
|
set(LAGOM_SOURCE_DIR "${LADYBIRD_SOURCE_DIR}/Meta/Lagom")
|
2022-12-23 18:36:02 +00:00
|
|
|
set(LAGOM_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/Lagom")
|
|
|
|
|
2022-12-30 13:15:00 +00:00
|
|
|
# FIXME: Setting target_include_directories on Lagom libraries might make this unnecessary?
|
2024-06-03 12:40:19 +00:00
|
|
|
include_directories(${LADYBIRD_SOURCE_DIR})
|
2024-11-09 17:13:18 +00:00
|
|
|
include_directories(${LADYBIRD_SOURCE_DIR}/Services)
|
2024-11-09 17:25:08 +00:00
|
|
|
include_directories(${LADYBIRD_SOURCE_DIR}/Libraries)
|
2022-12-23 18:36:02 +00:00
|
|
|
include_directories(${LAGOM_BINARY_DIR})
|
2024-11-09 17:13:18 +00:00
|
|
|
include_directories(${LAGOM_BINARY_DIR}/Services)
|
2024-11-09 17:25:08 +00:00
|
|
|
include_directories(${LAGOM_BINARY_DIR}/Libraries)
|
2022-12-23 18:36:02 +00:00
|
|
|
|
2024-06-03 19:24:20 +00:00
|
|
|
add_subdirectory("${LAGOM_SOURCE_DIR}" "${LAGOM_BINARY_DIR}")
|