From: Jonas Schievink Date: Thu, 19 Oct 2017 16:36:31 +0000 (+0200) Subject: cmake: include find_package_handle_standard_args X-Git-Tag: archive/raspbian/1.68-2+rpi1~54^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b39eb25571ece2f097fc28e5307f8838afd2c07d;p=pigpio.git 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). --- diff --git a/util/Findpigpio.cmake b/util/Findpigpio.cmake index 6c94ee0..eebfbfe 100644 --- a/util/Findpigpio.cmake +++ b/util/Findpigpio.cmake @@ -25,6 +25,7 @@ set(pigpio_INCLUDES ${pigpio_INCLUDE_DIR}) # Handle REQUIRED, QUIET, and version arguments # and set the _FOUND variable. +include(FindPackageHandleStandardArgs) find_package_handle_standard_args(pigpio DEFAULT_MSG pigpio_INCLUDE_DIR pigpio_LIBRARY pigpiod_if_LIBRARY pigpiod_if2_LIBRARY)