Skip to content

Commit 58cf0e4

Browse files
refactor: let the enterprise use the cmake files of the community (#30678)
1 parent ffd0a5e commit 58cf0e4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore_global

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ coverage.info
172172
taos
173173
taosd
174174
!test/requirements.txt
175-
175+
.externals
176176

177177
# usage
178178
# git config --global core.excludesfile .gitignore_global

cmake/preinclude.cmake

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24")
2+
cmake_policy(SET CMP0135 NEW)
3+
endif()
4+
5+
include(ExternalProject)
6+
include(CheckIncludeFile)
7+
include(CheckLibraryExists)
8+
include(CheckSymbolExists)

0 commit comments

Comments
 (0)