Skip to content

Commit

Permalink
cmake: remove unused includes option
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens authored and BareosBot committed Jan 30, 2024
1 parent 27443a5 commit d74b6b1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
8 changes: 1 addition & 7 deletions cmake/BareosSetVariableDefaults.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,6 @@ if(NOT client-only)
endif()

option(systemd "Enable systemd support" OFF)

# includes TODO: used?
if(NOT DEFINED includes)
set(includes ON)
endif()

option(openssl "Enable openssl support" ON)

# ports
Expand Down Expand Up @@ -446,7 +440,7 @@ if(HAVE_WIN32)
set(WINDOWS_BITS 64)
endif()

endif()
endif() # HAVE_WIN32

if(DEFINED do-static-code-checks)
set(DO_STATIC_CODE_CHECKS ${do-static-code-checks})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE=ON \
-Dopenssl=yes\
-Dbasename="XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX" \
-Dhostname="XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX" \
-Dincludes=yes\
-Djansson=${LOCALBASE} \
-Ddir-user=$(DIRECTOR_DAEMON_USER) \
-Ddir-group=$(DAEMON_GROUP) \
Expand Down
1 change: 0 additions & 1 deletion core/platforms/packaging/bareos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,6 @@ cmake .. \
%if 0%{?systemd_support}
-Dsystemd=yes \
%endif
-Dincludes=yes \
%if !0%{?webui}
-DENABLE_WEBUI=no \
%endif
Expand Down
1 change: 0 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ define CONFIGURE_COMMON
-Dmon-sd-password="XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX" \
-Dbasename="XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX" \
-Dhostname="XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX" \
-Dincludes=yes \
-Drpath=no \
-DVERSION_STRING=$(BAREOS_VERSION)
endef
Expand Down

0 comments on commit d74b6b1

Please sign in to comment.