File: rules

package info (click to toggle)
ms-gsl 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports, buster-backports-sloppy
  • size: 804 kB
  • sloc: cpp: 4,789; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 266 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

EXTRA_CMAKE_VARIABLES += CMAKE_DISABLE_FIND_PACKAGE_Git=ON
ifneq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
 EXTRA_CMAKE_VARIABLES += GSL_TEST=OFF
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(EXTRA_CMAKE_VARIABLES:%=-D%)