forked from hpc/mpifileutils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adam Moody <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# - Try to find libattr | ||
# Once done this will define | ||
# LibAttr_FOUND - System has libattr | ||
# LibAttr_INCLUDE_DIRS - The libattr include directories | ||
# LibAttr_LIBRARIES - The libraries needed to use libattr | ||
|
||
FIND_LIBRARY(LibAttr_LIBRARIES | ||
NAMES attr | ||
) | ||
|
||
FIND_PATH(LibAttr_INCLUDE_DIRS | ||
NAMES attr/libattr.h | ||
) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibAttr DEFAULT_MSG | ||
LibAttr_LIBRARIES | ||
LibAttr_INCLUDE_DIRS | ||
) | ||
|
||
# Hide these vars from ccmake GUI | ||
MARK_AS_ADVANCED( | ||
LibAttr_LIBRARIES | ||
LibAttr_INCLUDE_DIRS | ||
) |