SHA256
1
0
forked from pool/cppcheck

Accepting request 662754 from devel:tools

OBS-URL: https://build.opensuse.org/request/show/662754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cppcheck?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2019-01-05 13:42:34 +00:00 committed by Git OBS Bridge
commit 97ecad2421
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 3 18:13:49 UTC 2019 - Nemanja V <nafsub@outlook.com>
- Workaround for CMake lacking a CFGDIR variable.
* Patch was submitted (https://github.com/danmar/cppcheck/pull/1554)
and accepted so this change should be reverted and replaced with a CMake compile definition
-DCFGDIR=\"%{_datadir}/%{name}\" once a new upstream version is released.
-------------------------------------------------------------------
Thu Dec 27 10:03:28 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -74,7 +74,7 @@ doesn't see.
%build
%cmake \
-DCMAKE_CXX_FLAGS="-DNDEBUG %{optflags}" \
-DCMAKE_CXX_FLAGS="-DNDEBUG %{optflags} -UCFGDIR -DCFGDIR=\\\"%{_datadir}/%{name}\\\"" \
-DBUILD_GUI=ON \
-DBUILD_TESTS=ON \
-DHAVE_RULES=yes