Skip to content

Commit

Permalink
Next try - set TZ from CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
narc-Ontakac2 committed Jun 20, 2024
1 parent f91a0a2 commit 29bf8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set(VERSION_DATE "2018-08-04")
set(PACKAGE_STRING "${PROJECT_NAME} ${VZLOGGER_RPM_VERSION}")
set(VERSION "${VZLOGGER_RPM_VERSION}")
set(CMAKE_VERBOSE_MAKEFILE 1)
# Needed for TEST(mock_MeterOMS, first_packets)
set(ENV{TZ} "Europe/Berlin")

# debug build, on by default
ADD_DEFINITIONS(-g3)
Expand Down
2 changes: 0 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ include /usr/share/dpkg/pkg-info.mk
# Debian flags invented usage of LTO, which in combination with google test on
# Ubuntu 22.04.4 causes the errors supressed below
export CXXFLAGS += -Wno-lto-type-mismatch -Wno-odr
# Needed for TEST(mock_MeterOMS, first_packets)
export TZ="Europe/Berlin"

VERSION1=$(shell echo ${DEB_VERSION_UPSTREAM} | cut -f1 -d.)
VERSION2=$(shell echo ${DEB_VERSION_UPSTREAM} | cut -f2 -d.)
Expand Down

0 comments on commit 29bf8fc

Please sign in to comment.