Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
e81579e3
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e81579e3
编写于
6月 20, 2023
作者:
S
Shungang Li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: undo libgeos's setting of global CMAKE_CXX_STANDARD
上级
9835b81e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
30 addition
and
29 deletion
+30
-29
contrib/CMakeLists.txt
contrib/CMakeLists.txt
+30
-29
未找到文件。
contrib/CMakeLists.txt
浏览文件 @
e81579e3
...
...
@@ -175,8 +175,8 @@ if(${BUILD_TEST})
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/cpp-stub/src_darwin>
)
endif
(
${
TD_DARWIN
}
)
endif
(
${
BUILD_TEST
}
)
# cJson
...
...
@@ -245,7 +245,7 @@ if(${BUILD_WITH_ROCKSDB})
endif
(
${
TD_DARWIN_ARM64
}
)
if
(
${
TD_WINDOWS
}
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4244 /wd4819"
)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/wd4244 /wd4819"
)
endif
(
${
TD_WINDOWS
}
)
...
...
@@ -263,8 +263,8 @@ if(${BUILD_WITH_ROCKSDB})
option
(
WITH_MD_LIBRARY
"build with MD"
OFF
)
set
(
SYSTEM_LIBS
${
SYSTEM_LIBS
}
shlwapi.lib rpcrt4.lib
)
endif
(
${
TD_WINDOWS
}
)
option
(
WITH_FALLOCATE
""
OFF
)
option
(
WITH_JEMALLOC
""
OFF
)
option
(
WITH_GFLAGS
""
OFF
)
...
...
@@ -276,7 +276,7 @@ if(${BUILD_WITH_ROCKSDB})
option
(
WITH_BENCHMARK_TOOLS
""
OFF
)
option
(
WITH_TOOLS
""
OFF
)
option
(
WITH_LIBURING
""
OFF
)
IF
(
TD_LINUX
)
IF
(
TD_LINUX
)
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
ELSE
()
option
(
ROCKSDB_BUILD_SHARED
"Build shared versions of the RocksDB libraries"
OFF
)
...
...
@@ -294,10 +294,10 @@ if(${BUILD_WITH_LUCENE})
option
(
ENABLE_TEST
"Enable the tests"
OFF
)
add_subdirectory
(
lucene EXCLUDE_FROM_ALL
)
target_include_directories
(
lucene++
lucene++
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/lucene/include>
)
)
endif
(
${
BUILD_WITH_LUCENE
}
)
# NuRaft
...
...
@@ -357,7 +357,7 @@ if(${BUILD_MSVCREGEX})
target_include_directories
(
msvcregex
PRIVATE
"msvcregex"
)
target_link_libraries
(
msvcregex
target_link_libraries
(
msvcregex
INTERFACE Shell32
)
SET_TARGET_PROPERTIES
(
msvcregex PROPERTIES OUTPUT_NAME msvcregex
)
...
...
@@ -417,8 +417,8 @@ if(${BUILD_WITH_BDB})
IMPORTED_LOCATION
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/bdb/libdb.a"
INTERFACE_INCLUDE_DIRECTORIES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/bdb"
)
target_link_libraries
(
bdb
INTERFACE pthread
target_link_libraries
(
bdb
INTERFACE pthread
)
endif
(
${
BUILD_WITH_BDB
}
)
...
...
@@ -430,12 +430,12 @@ if(${BUILD_WITH_SQLITE})
IMPORTED_LOCATION
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite/.libs/libsqlite3.a"
INTERFACE_INCLUDE_DIRECTORIES
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sqlite"
)
target_link_libraries
(
sqlite
INTERFACE m
INTERFACE pthread
target_link_libraries
(
sqlite
INTERFACE m
INTERFACE pthread
)
if
(
NOT TD_WINDOWS
)
target_link_libraries
(
sqlite
target_link_libraries
(
sqlite
INTERFACE dl
)
endif
(
NOT TD_WINDOWS
)
...
...
@@ -443,22 +443,22 @@ endif(${BUILD_WITH_SQLITE})
# addr2line
if
(
${
BUILD_ADDR2LINE
}
)
if
(
NOT
${
TD_WINDOWS
}
)
check_include_file
(
"sys/types.h"
HAVE_SYS_TYPES_H
)
check_include_file
(
"sys/stat.h"
HAVE_SYS_STAT_H
)
check_include_file
(
"inttypes.h"
HAVE_INTTYPES_H
)
check_include_file
(
"stddef.h"
HAVE_STDDEF_H
)
check_include_file
(
"stdlib.h"
HAVE_STDLIB_H
)
check_include_file
(
"string.h"
HAVE_STRING_H
)
check_include_file
(
"memory.h"
HAVE_MEMORY_H
)
check_include_file
(
"strings.h"
HAVE_STRINGS_H
)
if
(
NOT
${
TD_WINDOWS
}
)
check_include_file
(
"sys/types.h"
HAVE_SYS_TYPES_H
)
check_include_file
(
"sys/stat.h"
HAVE_SYS_STAT_H
)
check_include_file
(
"inttypes.h"
HAVE_INTTYPES_H
)
check_include_file
(
"stddef.h"
HAVE_STDDEF_H
)
check_include_file
(
"stdlib.h"
HAVE_STDLIB_H
)
check_include_file
(
"string.h"
HAVE_STRING_H
)
check_include_file
(
"memory.h"
HAVE_MEMORY_H
)
check_include_file
(
"strings.h"
HAVE_STRINGS_H
)
check_include_file
(
"stdint.h"
HAVE_STDINT_H
)
check_include_file
(
"unistd.h"
HAVE_UNISTD_H
)
check_include_file
(
"sgidefs.h"
HAVE_SGIDEFS_H
)
check_include_file
(
"stdafx.h"
HAVE_STDAFX_H
)
check_include_file
(
"elf.h"
HAVE_ELF_H
)
check_include_file
(
"libelf.h"
HAVE_LIBELF_H
)
check_include_file
(
"libelf/libelf.h"
HAVE_LIBELF_LIBELF_H
)
check_include_file
(
"elf.h"
HAVE_ELF_H
)
check_include_file
(
"libelf.h"
HAVE_LIBELF_H
)
check_include_file
(
"libelf/libelf.h"
HAVE_LIBELF_LIBELF_H
)
check_include_file
(
"alloca.h"
HAVE_ALLOCA_H
)
check_include_file
(
"elfaccess.h"
HAVE_ELFACCESS_H
)
check_include_file
(
"sys/elf_386.h"
HAVE_SYS_ELF_386_H
)
...
...
@@ -466,7 +466,7 @@ if(${BUILD_ADDR2LINE})
check_include_file
(
"sys/elf_sparc.h"
HAVE_SYS_ELF_SPARC_H
)
check_include_file
(
"sys/ia64/elf.h"
HAVE_SYS_IA64_ELF_H
)
set
(
VERSION 0.3.1
)
set
(
PACKAGE_VERSION
"
\"
${
VERSION
}
\"
"
)
set
(
PACKAGE_VERSION
"
\"
${
VERSION
}
\"
"
)
configure_file
(
libdwarf/cmake/config.h.cmake config.h
)
file
(
GLOB_RECURSE LIBDWARF_SOURCES
"libdwarf/src/lib/libdwarf/*.c"
)
add_library
(
libdwarf STATIC
${
LIBDWARF_SOURCES
}
)
...
...
@@ -497,6 +497,7 @@ if(${BUILD_GEOS})
endif
(
${
TD_LINUX
}
)
option
(
BUILD_SHARED_LIBS
"Build GEOS with shared libraries"
OFF
)
add_subdirectory
(
geos EXCLUDE_FROM_ALL
)
unset
(
CMAKE_CXX_STANDARD CACHE
)
# undo libgeos's setting of global CMAKE_CXX_STANDARD
target_include_directories
(
geos_c
PUBLIC $<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/geos/include>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录