File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1252,6 +1252,14 @@ def get_cmake_args_prefix_path(additional_paths: "Sequence[str]" = ()) -> "list[
1252
1252
cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/cgal-{ CGAL_VERSION } " )
1253
1253
cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/gmp-{ GMP_VERSION } " )
1254
1254
cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } " )
1255
+ if "wasm" in flags :
1256
+ cmake_args .extend ([
1257
+ f"-DCGAL_INCLUDE_DIR={ DEPS_DIR } /install/cgal-{ CGAL_VERSION } /include" ,
1258
+ f"-DGMP_INCLUDE_DIR={ DEPS_DIR } /install/gmp-{ GMP_VERSION } /include" ,
1259
+ f"-DGMP_LIBRARY_DIR={ DEPS_DIR } /install/gmp-{ GMP_VERSION } /lib" ,
1260
+ f"-DMPFR_INCLUDE_DIR={ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } /include" ,
1261
+ f"-DMPFR_LIBRARY_DIR={ DEPS_DIR } /install/mpfr-{ MPFR_VERSION } /lib" ,
1262
+ ])
1255
1263
1256
1264
if "occ" in targets and USE_OCCT :
1257
1265
cmake_args_prefix_path .append (f"{ DEPS_DIR } /install/occt-{ OCCT_VERSION } " )
You can’t perform that action at this time.
0 commit comments