-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: introduce USE_SYSTEM_* flags and support find_package(fbgemm)
- Loading branch information
Connor Baker
committed
Aug 22, 2023
1 parent
d43717a
commit 87b615c
Showing
4 changed files
with
107 additions
and
58 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,9 @@ | ||
@PACKAGE_INIT@ | ||
include(CMakeFindDependencyMacro) | ||
find_dependency(asmjit REQUIRED) | ||
find_dependency(cpuinfo REQUIRED) | ||
if(@OpenMP_FOUND@) | ||
find_dependency(OpenMP REQUIRED) | ||
endif() | ||
include("${CMAKE_CURRENT_LIST_DIR}/fbgemmTargets.cmake") | ||
check_required_components(fbgemm) |
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