mirror of
https://github.com/typesense/typesense.git
synced 2025-05-18 20:52:50 +08:00
Allow TYPESENSE_VERSION to be passed to build.
This commit is contained in:
parent
2497de11ce
commit
f37f8d2cd8
4
BUILD
4
BUILD
@ -30,7 +30,6 @@ cc_library(
|
||||
name = "common_deps",
|
||||
defines = [
|
||||
"NDEBUG",
|
||||
"TYPESENSE_VERSION=\\\"nightly\\\"",
|
||||
],
|
||||
linkopts = select({
|
||||
"@platforms//os:macos": ["-framework Foundation -framework SystemConfiguration"],
|
||||
@ -70,6 +69,9 @@ cc_binary(
|
||||
"src/main/typesense_server.cpp",
|
||||
":src_files",
|
||||
],
|
||||
local_defines = [
|
||||
"TYPESENSE_VERSION=\\\"$(TYPESENSE_VERSION)\\\""
|
||||
],
|
||||
copts = COPTS,
|
||||
deps = [":common_deps"],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user