projects
/
pigpio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8996b7e
)
cmake: include find_package_handle_standard_args
author
Jonas Schievink
<jonasschievink@gmail.com>
Thu, 19 Oct 2017 16:36:31 +0000
(18:36 +0200)
committer
GitHub
<noreply@github.com>
Thu, 19 Oct 2017 16:36:31 +0000
(18:36 +0200)
The Findpigpio.cmake script doesn't work for me if this is missing (CMake 3.9.4 on Arch Linux ARM).
util/Findpigpio.cmake
patch
|
blob
|
history
diff --git
a/util/Findpigpio.cmake
b/util/Findpigpio.cmake
index 6c94ee053b66c008fd822f5f09a6233b26933452..eebfbfe3481d8f5a67b03568c5e3aa277fd90751 100644
(file)
--- 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 <packagename>_FOUND variable.
+include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(pigpio
DEFAULT_MSG
pigpio_INCLUDE_DIR pigpio_LIBRARY pigpiod_if_LIBRARY pigpiod_if2_LIBRARY)