"vscode:/vscode.git/clone" did not exist on "93d69df460eb72bac67f59b6591fff6ac8fce992"
Commit 758728ba authored by vladlosev's avatar vladlosev
Browse files

Makes generation of fused sources contingent on availability of Python.

parent c91a353c
...@@ -261,6 +261,7 @@ FUSED_GTEST_SRC = \ ...@@ -261,6 +261,7 @@ FUSED_GTEST_SRC = \
fused-src/gtest/gtest.h \ fused-src/gtest/gtest.h \
fused-src/gtest/gtest_main.cc fused-src/gtest/gtest_main.cc
if HAVE_PYTHON
TESTS += test/fused_gtest_test TESTS += test/fused_gtest_test
check_PROGRAMS += test/fused_gtest_test check_PROGRAMS += test/fused_gtest_test
test_fused_gtest_test_SOURCES = $(FUSED_GTEST_SRC) \ test_fused_gtest_test_SOURCES = $(FUSED_GTEST_SRC) \
...@@ -284,6 +285,7 @@ fused-gtest: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \ ...@@ -284,6 +285,7 @@ fused-gtest: $(pkginclude_HEADERS) $(pkginclude_internal_HEADERS) \
maintainer-clean-local: maintainer-clean-local:
rm -rf "$(srcdir)/fused-src" rm -rf "$(srcdir)/fused-src"
endif
# Death tests may produce core dumps in the build directory. In case # Death tests may produce core dumps in the build directory. In case
# this happens, clean them to keep distcleancheck happy. # this happens, clean them to keep distcleancheck happy.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment