mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK+LibGfx: Only generate clang module map if ENABLE_SWIFT
The script pulls in a dependency on the `yaml` python package. Instead of updating all the docs and CI jobs to account for this, let's guard calling the script behind our experimental flag instead.
This commit is contained in:
committed by
Andreas Kling
parent
5a31fed1da
commit
7758875cfd
@@ -60,9 +60,11 @@ endif()
|
||||
find_package(simdutf REQUIRED)
|
||||
target_link_libraries(AK PRIVATE simdutf::simdutf)
|
||||
|
||||
generate_clang_module_map(
|
||||
AK
|
||||
GENERATED_FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Backtrace.h"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Debug.h"
|
||||
)
|
||||
if (ENABLE_SWIFT)
|
||||
generate_clang_module_map(
|
||||
AK
|
||||
GENERATED_FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Backtrace.h"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Debug.h"
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user