CMake: Throw fatal error when libtidy is not found

This commit is contained in:
Sude 2024-05-15 13:59:32 +03:00
parent d6064bcbeb
commit fd35a0a54f

View File

@ -6,7 +6,7 @@
# Tidy_LIBRARIES - The libraries needed to use tidy
find_package(PkgConfig)
pkg_check_modules(PC_TIDY tidy)
pkg_check_modules(PC_TIDY tidy REQUIRED)
find_path(TIDY_INCLUDE_DIR tidy.h
HINTS