mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-23 19:01:15 -03:00
Change some files which have lines whose indentation is not a multiple of the 4 spaces specified in the editorconfig file. Some of these changes are fixes or clear improvements (e.g. in Rust macros which rustfmt can't format properly). Other changes don't clearly improve the code style, and in some cases it might actually get worse. The goal is to eventually be able to use our editorconfig for automated style checks, but there are a lot of cases where conforming to the limited editorconfig style spec does not make sense, so I'm not sure how useful such automated checks can be. Closes #12408
11 lines
339 B
CMake
11 lines
339 B
CMake
set(FISH_USE_SYSTEM_PCRE2 ON CACHE BOOL
|
|
"Try to use PCRE2 from the system, instead of the pcre2-sys version"
|
|
)
|
|
|
|
if(FISH_USE_SYSTEM_PCRE2)
|
|
message(STATUS "Trying to use PCRE2 from the system")
|
|
else()
|
|
message(STATUS "Forcing static build of PCRE2")
|
|
set(FISH_PCRE2_BUILDFLAG "PCRE2_SYS_STATIC=1")
|
|
endif(FISH_USE_SYSTEM_PCRE2)
|