cmake: include find_package_handle_standard_args

The Findpigpio.cmake script doesn't work for me if this is missing (CMake 3.9.4 on Arch Linux ARM).
This commit is contained in:
Jonas Schievink 2017-10-19 18:36:31 +02:00 committed by GitHub
parent 8996b7eaca
commit b39eb25571
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ set(pigpio_INCLUDES ${pigpio_INCLUDE_DIR})
# Handle REQUIRED, QUIET, and version arguments # Handle REQUIRED, QUIET, and version arguments
# and set the <packagename>_FOUND variable. # and set the <packagename>_FOUND variable.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(pigpio find_package_handle_standard_args(pigpio
DEFAULT_MSG DEFAULT_MSG
pigpio_INCLUDE_DIR pigpio_LIBRARY pigpiod_if_LIBRARY pigpiod_if2_LIBRARY) pigpio_INCLUDE_DIR pigpio_LIBRARY pigpiod_if_LIBRARY pigpiod_if2_LIBRARY)