Skip to content

Commit

Permalink
fix chaotic: fix USERVER_CHAOTIC_FORMAT option for CMake build
Browse files Browse the repository at this point in the history
Fixes: #796

Tests: протестировано CI

Pull Request resolved: #797
commit_hash:653debf1243c94a05d295c634e07f6bc21282c53
  • Loading branch information
botanegg authored and apolukhin committed Dec 23, 2024
1 parent 6a47139 commit a024fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/ChaoticGen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function(_userver_prepare_chaotic)
find_program(CLANG_FORMAT_BIN clang-format)
message(STATUS "Found clang-format: ${CLANG_FORMAT_BIN}")
set_property(GLOBAL PROPERTY userver_clang_format_bin "${CLANG_FORMAT_BIN}")
option(USERVER_CHAOTIC_FORMAT ON "Whether to format generated code")
option(USERVER_CHAOTIC_FORMAT "Whether to format generated code" ON)

if(NOT USERVER_CHAOTIC_SCRIPTS_PATH)
get_filename_component(USERVER_DIR "${CMAKE_CURRENT_LIST_DIR}" DIRECTORY)
Expand Down

0 comments on commit a024fdd

Please sign in to comment.