Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export CMAKE_OPTIONS := \
4 -DCMAKE_BUILD_TYPE=Release
5
6 CONFIG_SWITCHES=-DCMAKE_DEB_HOST_MULTIARCH=$(DEB_HOST_MULTIARCH)
7
8 ifneq (,$(filter $(DEB_HOST_ARCH_CPU), i386))
9 export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
10 endif
11
12 %:
13 dh $@
14
15 override_dh_auto_configure:
16 dh_auto_configure -- $(CMAKE_OPTIONS) $(CONFIG_SWITCHES) -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)