-
Notifications
You must be signed in to change notification settings - Fork 9
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
1 parent
6ede688
commit 3effaa5
Showing
3 changed files
with
30 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,22 @@ | ||
# - Try to find libatomic | ||
# Once done this will define | ||
# LIBATOMIC_FOUND - System has libatomic | ||
# LIBATOMIC_LIBRARY - The library needed to use libatomic | ||
|
||
FIND_LIBRARY(LIBATOMIC_LIBRARY NAMES atomic atomic.so.1 libatomic.so.1 | ||
HINTS | ||
/usr/local/lib64 | ||
/usr/local/lib | ||
/opt/local/lib64 | ||
/opt/local/lib | ||
/usr/lib64 | ||
/usr/lib | ||
/lib64 | ||
/lib | ||
) | ||
|
||
IF (LIBATOMIC_LIBRARY) | ||
SET(LIBATOMIC_FOUND TRUE) | ||
ELSE () | ||
SET(LIBATOMIC_FOUND FALSE) | ||
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