From b39eb25571ece2f097fc28e5307f8838afd2c07d Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 19 Oct 2017 18:36:31 +0200 Subject: [PATCH] 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). --- util/Findpigpio.cmake | 1 + 1 file changed, 1 insertion(+) 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)