-
Notifications
You must be signed in to change notification settings - Fork 92
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
Showing
7 changed files
with
118 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FIND_LIBRARY(RUST_VANGERS_LIBRARY | ||
NAMES | ||
vangers_ffi | ||
PATHS | ||
${RUST_VANGERS_ROOT}/lib | ||
/usr/lib | ||
/usr/local/lib | ||
/opt/local/lib | ||
/sw/lib | ||
/local/lib | ||
/mingw/lib | ||
/local/bin | ||
/mingw/bin | ||
/usr/local/lib | ||
) | ||
IF(RUST_VANGERS_LIBRARY) | ||
SET(RUST_VANGERS_FOUND TRUE) | ||
ENDIF(RUST_VANGERS_LIBRARY) | ||
|
||
IF(RUST_VANGERS_FOUND) | ||
IF(NOT RUST_VANGERS_FIND_QUIETLY) | ||
MESSAGE(STATUS "Found vange-rs ffi library: ${RUST_VANGERS_LIBRARY}") | ||
ENDIF(NOT RUST_VANGERS_FIND_QUIETLY) | ||
ELSE(RUST_VANGERS_FOUND) | ||
IF(RUST_VANGERS_FIND_REQUIRED) | ||
MESSAGE(FATAL_ERROR "Could not find vange-rs ffi library") | ||
ENDIF(RUST_VANGERS_FIND_REQUIRED) | ||
ENDIF(RUST_VANGERS_FOUND) |
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
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