Skip to content

Commit

Permalink
CMake: Throw fatal error when libtidy is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Sude- committed May 15, 2024
1 parent d6064bc commit fd35a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindTidy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd35a0a

Please sign in to comment.