@@ -358,7 +358,7 @@ def gather_dependencies(dep: str) -> "Generator[str]":
358358missing_commands : "list[str]" = []
359359required_commands = [git , bunzip2 , tar , cc , cplusplus , autoconf , automake , make , "patch" , "cmake" , yacc , xz ]
360360if "wasm" in flags :
361- required_commands .remove (yacc ) # yacc not needed for wasm builds
361+ required_commands .remove (yacc ) # yacc not needed for wasm builds
362362for cmd in required_commands :
363363 if which (cmd ) is None :
364364 missing_commands .append (cmd )
@@ -932,7 +932,7 @@ def build_dependency(
932932 if MAC_CROSS_COMPILE_INTEL :
933933 OLD_CC = os .environ .get ("CC" )
934934 os .environ ["CC" ] = MAC_CROSS_COMPILE_INTEL_CC
935- build_tool_args = [
935+ build_tool_args = [
936936 "--without-python" ,
937937 ENABLE_FLAG ,
938938 DISABLE_FLAG ,
@@ -1258,21 +1258,25 @@ def get_cmake_args_prefix_path(additional_paths: "Sequence[str]" = ()) -> "list[
12581258 cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/gmp-{ GMP_VERSION } " )
12591259 cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } " )
12601260 if "wasm" in flags :
1261- cmake_args .extend ([
1262- f"-DCGAL_INCLUDE_DIR={ DEPS_DIR } /install/cgal-{ CGAL_VERSION } /include" ,
1263- f"-DGMP_INCLUDE_DIR={ DEPS_DIR } /install/gmp-{ GMP_VERSION } /include" ,
1264- f"-DGMP_LIBRARY_DIR={ DEPS_DIR } /install/gmp-{ GMP_VERSION } /lib" ,
1265- f"-DMPFR_INCLUDE_DIR={ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } /include" ,
1266- f"-DMPFR_LIBRARY_DIR={ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } /lib" ,
1267- ])
1261+ cmake_args .extend (
1262+ [
1263+ f"-DCGAL_INCLUDE_DIR={ DEPS_DIR } /install/cgal-{ CGAL_VERSION } /include" ,
1264+ f"-DGMP_INCLUDE_DIR={ DEPS_DIR } /install/gmp-{ GMP_VERSION } /include" ,
1265+ f"-DGMP_LIBRARY_DIR={ DEPS_DIR } /install/gmp-{ GMP_VERSION } /lib" ,
1266+ f"-DMPFR_INCLUDE_DIR={ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } /include" ,
1267+ f"-DMPFR_LIBRARY_DIR={ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } /lib" ,
1268+ ]
1269+ )
12681270
12691271if "occ" in targets and USE_OCCT :
12701272 cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/occt-{ OCCT_VERSION } " )
12711273 if "wasm" in flags :
1272- cmake_args .extend ([
1273- f"-DOCC_INCLUDE_DIR={ DEPS_DIR } /install/occt-{ OCCT_VERSION } /include/opencascade" ,
1274- f"-DOCC_LIBRARY_DIR={ DEPS_DIR } /install/occt-{ OCCT_VERSION } /lib" ,
1275- ])
1274+ cmake_args .extend (
1275+ [
1276+ f"-DOCC_INCLUDE_DIR={ DEPS_DIR } /install/occt-{ OCCT_VERSION } /include/opencascade" ,
1277+ f"-DOCC_LIBRARY_DIR={ DEPS_DIR } /install/occt-{ OCCT_VERSION } /lib" ,
1278+ ]
1279+ )
12761280
12771281elif "occ" in targets :
12781282 # We don't support find_package for OCE.
0 commit comments