mirror of https://github.com/joan2937/pigpio
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:
parent
8996b7eaca
commit
b39eb25571
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue