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:
commit
97ecad2421
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user