cmake: only run prettier explicitly (#14228)

This commit is contained in:
Meghan Denny
2024-09-30 23:43:29 -07:00
committed by GitHub
parent 2f7ff95e5c
commit 016ebf7b9b
3 changed files with 10 additions and 5 deletions

View File

@@ -91,6 +91,8 @@ if(LINUX)
optionx(ENABLE_VALGRIND BOOL "If Valgrind support should be enabled" DEFAULT OFF)
endif()
optionx(ENABLE_PRETTIER BOOL "If prettier should be ran" DEFAULT OFF)
if(USE_VALGRIND AND NOT USE_BASELINE)
message(WARNING "If valgrind is enabled, baseline must also be enabled")
setx(USE_BASELINE ON)