forked from dolphin-emu/dolphin
-
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.
- Loading branch information
orbea
committed
Aug 8, 2018
1 parent
9cd7dfc
commit 227807d
Showing
2 changed files
with
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
find_path(CUBEB_INCLUDE_DIR cubeb.h PATH_SUFFIXES cubeb) | ||
find_library(CUBEB_LIBRARY cubeb) | ||
mark_as_advanced(CUBEB_INCLUDE_DIR CUBEB_LIBRARY) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(CUBEB DEFAULT_MSG | ||
CUBEB_INCLUDE_DIR CUBEB_LIBRARY) | ||
|
||
if(CUBEB_FOUND AND NOT TARGET CUBEB) | ||
add_library(cubeb::cubeb UNKNOWN IMPORTED) | ||
set_target_properties(cubeb::cubeb PROPERTIES | ||
IMPORTED_LOCATION "${CUBEB_LIBRARY}" | ||
INTERFACE_INCLUDE_DIRECTORIES "${CUBEB_INCLUDE_DIR}" | ||
) | ||
endif() |
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