Force WITH_PYTHON=YES for distcheck.

To ensure that it works from the tarball.
This commit is contained in:
John Ralls committed 2020-04-12 15:51:05 -07:00
1 parent e1b0140357
commit 1365a19e2e
1 file changed
+1
+1
View File
@@ -47,6 +47,7 @@ function(run_dist_check PACKAGE_PREFIX EXT)
-D CMAKE_INSTALL_PREFIX=../${INSTALL_DIR}
-D GTEST_ROOT=${GTEST_ROOT}
-D GMOCK_ROOT=${GMOCK_ROOT}
-D WITH_PYTHON=YES
../${PACKAGE_PREFIX}
WORKING_DIRECTORY ${BUILD_DIR}
ERROR_MSG "CMake configure command failed."