diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-09-21 14:32:27 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-09-24 14:14:38 +1000 |
commit | 001210da3871f1a3638a2a5bcf08486dd50885fe (patch) | |
tree | 90a64dd7fa55d95e0c8101c1ac32e5364fdf0e7c /cmake/modules | |
parent | d6be26cd21718ce1f2e85c193dec447220742b51 (diff) |
[cmake] FindCAP use HINTS instead of PATHS
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindCAP.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindCAP.cmake b/cmake/modules/FindCAP.cmake index 2f11161b45..8cad7bab9f 100644 --- a/cmake/modules/FindCAP.cmake +++ b/cmake/modules/FindCAP.cmake @@ -14,10 +14,10 @@ if(NOT TARGET CAP::CAP) endif() find_path(CAP_INCLUDE_DIR NAMES sys/capability.h - PATHS ${PC_CAP_INCLUDEDIR} + HINTS ${PC_CAP_INCLUDEDIR} NO_CACHE) find_library(CAP_LIBRARY NAMES cap libcap - PATHS ${PC_CAP_LIBDIR} + HINTS ${PC_CAP_LIBDIR} NO_CACHE) set(CAP_VERSION ${PC_CAP_VERSION}) |