forked from irungentoo/toxcore
-
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.
Merge branch 'master' of https://github.com/xzfc/ProjectTox-Core into…
… xzfc-master Conflicts: CMakeLists.txt
- Loading branch information
Showing
3 changed files
with
35 additions
and
6 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,17 @@ | ||
find_path(NACL_INCLUDE_DIR crypto_box.h | ||
$ENV{NACL_INCLUDE_DIR} /usr/include/nacl/ | ||
DOC "Directory which contain NaCl headers") | ||
|
||
find_path(NACL_LIBRARY_DIR libnacl.a | ||
$ENV{NACL_LIBRARY_DIR} /usr/lib/nacl | ||
DOC "Directory which contain libnacl.a, cpucycles.o, and randombytes.o") | ||
|
||
if(NACL_LIBRARY_DIR) | ||
set(NACL_LIBRARIES | ||
"${NACL_LIBRARY_DIR}/cpucycles.o" | ||
"${NACL_LIBRARY_DIR}/libnacl.a" | ||
"${NACL_LIBRARY_DIR}/randombytes.o") | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(NaCl DEFAULT_MSG NACL_INCLUDE_DIR NACL_LIBRARY_DIR NACL_LIBRARIES) |
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