forked from vesoft-inc/nebula
-
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.
Move third party libraries outside (vesoft-inc#538)
* Remove third-party * Modify fbthrift java jar path * Encapsulation generated thrift obj * Support to compile to the specified dir * Rebase upstream * Rebase upstream * Modify third-party root * add base_obj depends on meta_thrift_obj
- Loading branch information
1 parent
abc953a
commit e3b6e52
Showing
112 changed files
with
959 additions
and
1,793 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
# - Try to find Bzip2 includes dirs and libraries | ||
# | ||
# Usage of this module as follows: | ||
# | ||
# find_package(Bzip2) | ||
# | ||
# Variables used by this module, they can change the default behaviour and need | ||
# to be set before calling find_package: | ||
# | ||
# Variables defined by this module: | ||
# | ||
# Bzip2_FOUND System has bzip2, include and lib dirs found. | ||
# Bzip2_INCLUDE_DIR The bzip2 includes directories. | ||
# Bzip2_LIBRARY The bzip2 library. | ||
# Bzip2_BIN The bzip2 binary. | ||
|
||
find_path(Bzip2_INCLUDE_DIR NAMES bzlib.h) | ||
find_library(Bzip2_LIBRARY NAMES libbz2.a) | ||
find_program(Bzip2_BIN NAMES bzip2) | ||
|
||
if(Bzip2_INCLUDE_DIR AND Bzip2_LIBRARY AND Bzip2_BIN) | ||
set(Bzip2_FOUND TRUE) | ||
mark_as_advanced( | ||
Bzip2_INCLUDE_DIR | ||
Bzip2_LIBRARY | ||
Bzip2_BIN | ||
) | ||
endif() | ||
|
||
if(NOT Bzip2_FOUND) | ||
message(FATAL_ERROR "Bzip2 doesn't exist") | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# - Try to find libdouble-conversion includes dirs and libraries | ||
# | ||
# Usage of this module as follows: | ||
# | ||
# find_package(DoubleConversion) | ||
# | ||
# Variables used by this module, they can change the default behaviour and need | ||
# to be set before calling find_package: | ||
# | ||
# Variables defined by this module: | ||
# | ||
# DoubleConversion_FOUND System has double-conversion, include and lib dirs found | ||
# DoubleConversion_INCLUDE_DIR The double-conversion includes directories. | ||
# DoubleConversion_LIBRARY The double-conversion library. | ||
|
||
find_path(DoubleConversion_INCLUDE_DIR NAMES double-conversion.h) | ||
find_library(DoubleConversion_LIBRARY NAMES libdouble-conversion.a) | ||
|
||
if(DoubleConversion_INCLUDE_DIR AND DoubleConversion_LIBRARY) | ||
set(DoubleConversion_FOUND TRUE) | ||
mark_as_advanced( | ||
DoubleConversion_INCLUDE_DIR | ||
DoubleConversion_LIBRARY | ||
) | ||
endif() | ||
|
||
if(NOT DoubleConversion_FOUND) | ||
message(FATAL_ERROR "Double-conversion doesn't exist") | ||
endif() | ||
|
Oops, something went wrong.