File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN apt-get update && \
29
29
libcgreen1-dev \
30
30
lcov \
31
31
&& rm -rf /var/lib/apt/lists/*
32
- RUN cmake -DCMAKE_BUILD_TYPE=Release -B/build /source
32
+ RUN cmake -DCMAKE_BUILD_TYPE=Release -DOPENVASD=0 - B/build /source
33
33
RUN DESTDIR=/install cmake --build /build -- install
34
34
35
35
FROM debian:oldstable-slim
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ endif (NOT CMAKE_BUILD_TYPE)
24
24
OPTION (BUILD_STATIC "Build static versions of the libraries" OFF )
25
25
OPTION (ENABLE_COVERAGE "Enable support for coverage analysis" OFF )
26
26
OPTION (BUILD_TESTS "Build tests for the libraries" OFF )
27
+ OPTION (OPENVASD "Build openvasd library" ON )
27
28
28
29
if (NOT BUILD_STATIC )
29
30
set (BUILD_SHARED ON )
@@ -258,9 +259,12 @@ if (NOT SKIP_SRC)
258
259
add_subdirectory (base )
259
260
add_subdirectory (boreas )
260
261
add_subdirectory (util )
261
- add_subdirectory (openvasd )
262
262
add_subdirectory (osp )
263
263
add_subdirectory (gmp )
264
+
265
+ if (OPENVASD )
266
+ add_subdirectory (openvasd )
267
+ endif (OPENVASD )
264
268
endif (NOT SKIP_SRC )
265
269
266
270
## Documentation
You can’t perform that action at this time.
0 commit comments