Skip to content

Commit

Permalink
fix: remove unused APP_VERSION define (#297)
Browse files Browse the repository at this point in the history
It's no longer used.
  • Loading branch information
felixonmars authored Sep 21, 2023
1 parent 58ddbb5 commit 0b6b9cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ override_dh_auto_configure:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SAFETYTEST_ARG="CMAKE_SAFETYTEST_ARG_OFF" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DAPP_VERSION=$(DEB_VERSION_UPSTREAM) \
-DVERSION=$(DEB_VERSION_UPSTREAM) \
LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)
2 changes: 1 addition & 1 deletion rpm/deepin-terminal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export PATH=%{_qt5_bindir}:$PATH
# cmake_minimum_required version is too high
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
mkdir build && pushd build
%cmake -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=%{version} -DVERSION=%{version} ../
%cmake -DCMAKE_BUILD_TYPE=Release -DVERSION=%{version} ../
%make_build
popd

Expand Down

0 comments on commit 0b6b9cd

Please sign in to comment.