This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - Try to find LibFswatch | |
# Once done this will define | |
# LibFsWatch_FOUND - System has LibFswatch | |
# LibFsWatch_INCLUDE_DIRS - The LibFswatch include directories | |
# LibFsWatch_LIBRARIES - The libraries needed to use LibFswatch | |
# LibFsWatch_DEFINITIONS - Compiler switches required for using LibFswatch | |
find_package(PkgConfig) | |
pkg_check_modules(PC_LIBFSWATCH QUIET libfswatch) | |
set(LibFsWatch_DEFINITIONS ${PC_LIBFSWATCH_CFLAGS_OTHER}) |