Commit e20bbea 1 parent 287fbc3 commit e20bbea Copy full SHA for e20bbea
File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ RUN apt update \
33
33
&& apt clean \
34
34
&& rm -rf /var/lib/apt/lists/*
35
35
36
+ # Install cmake
37
+ RUN wget https://github.com/Kitware/CMake/releases/download/v3.23.5/cmake-3.23.5-linux-$(uname -m).sh \
38
+ && chmod +x cmake-3.23.5-linux-$(uname -m).sh \
39
+ && ./cmake-3.23.5-linux-$(uname -m).sh --skip-license --prefix=/usr/local \
40
+ && rm cmake-3.23.5-linux-$(uname -m).sh
41
+
36
42
# Install golang
37
43
RUN ARCH="$(uname -m)" ; \
38
44
case "${ARCH}" in \
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.16")
8
8
cmake_policy (SET CMP0097 NEW)
9
9
endif ()
10
10
11
+ if (POLICY CMP0135) #Since cmake 3.24 it will make some download warning
12
+ cmake_policy (SET CMP0135 NEW)
13
+ endif ()
14
+
11
15
project ("Nebula Third Party" C CXX)
12
16
13
17
set (CXX_STANDARD 17)
You can’t perform that action at this time.
0 commit comments