-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Luke Adams
committed
Jul 12, 2017
1 parent
1863d1b
commit 8502d02
Showing
3 changed files
with
33 additions
and
1 deletion.
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,26 @@ | ||
INCLUDE(FindPkgConfig) | ||
PKG_CHECK_MODULES(PC_VOLK volk) | ||
|
||
FIND_PATH( | ||
VOLK_INCLUDE_DIRS | ||
NAMES volk/volk.h | ||
HINTS $ENV{VOLK_DIR}/include | ||
${PC_VOLK_INCLUDEDIR} | ||
PATHS /usr/local/include | ||
/usr/include | ||
) | ||
|
||
FIND_LIBRARY( | ||
VOLK_LIBRARIES | ||
NAMES volk | ||
HINTS $ENV{VOLK_DIR}/lib | ||
${PC_VOLK_LIBDIR} | ||
PATHS /usr/local/lib | ||
/usr/local/lib64 | ||
/usr/lib | ||
/usr/lib64 | ||
) | ||
|
||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(VOLK DEFAULT_MSG VOLK_LIBRARIES VOLK_INCLUDE_DIRS) | ||
MARK_AS_ADVANCED(VOLK_LIBRARIES VOLK_INCLUDE_DIRS) |
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