@@ -5,7 +5,7 @@
# override disabled by default rpath - we need to find libvcmi.so with it:
override_dh_auto_configure:
- dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games
+ dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games -DENABLE_TEST=0
.PHONY: override_dh_strip
override_dh_strip:
dh_strip --dbg-package=vcmi-dbg
@@ -41,7 +41,7 @@ VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving i
%setup -q -n %{name}-%{version}-1
%build
-cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr ./
+cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TEST=0 ./
make %{?_smp_mflags}
%install