-
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.
Co-authored-by: Ilya Dryomov <[email protected]> Signed-off-by: Effi Ofer <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
- Loading branch information
Showing
26 changed files
with
701 additions
and
10 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
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,33 @@ | ||
# - Find libnbd | ||
# Sets the following: | ||
# | ||
# LIBNBD_INCLUDE_DIR | ||
# LIBNBD_LIBRARIES | ||
# LIBNBD_VERSION | ||
# LIBNBD_FOUND | ||
|
||
find_package(PkgConfig QUIET REQUIRED) | ||
pkg_search_module(PC_libnbd libnbd) | ||
|
||
find_path(LIBNBD_INCLUDE_DIR | ||
NAMES libnbd.h | ||
PATHS ${PC_libnbd_INCLUDE_DIRS}) | ||
|
||
find_library(LIBNBD_LIBRARIES | ||
NAMES libnbd.so | ||
PATHS ${PC_libnbd_LIBRARY_DIRS}) | ||
|
||
set(LIBNBD_VERSION ${PC_libnbd_VERSION}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_package_handle_standard_args(libnbd | ||
REQUIRED_VARS | ||
LIBNBD_INCLUDE_DIR | ||
LIBNBD_LIBRARIES | ||
VERSION_VAR LIBNBD_VERSION) | ||
|
||
mark_as_advanced( | ||
LIBNBD_LIBRARIES | ||
LIBNBD_INCLUDE_DIR | ||
LIBNBD_VERSION) |
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
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
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
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
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
Oops, something went wrong.