This repository was archived by the owner on Mar 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ endif()
8686include (OpenAccHelper)
8787include (ClangFormatHelper)
8888
89+ # =============================================================================
90+ # Common dependencies
91+ # =============================================================================
92+ find_package (PythonInterp REQUIRED)
93+
8994# =============================================================================
9095# ISPC should compile with --pic by default
9196# =============================================================================
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ $(kinderiv_h): $(mod_all_cpp_files) build_always | $(MODC_DIR)
190190 cd $(MODC_DIR) && mkdir -p _tmp && mv [^_]*.cpp _tmp/ && \
191191 mv $(addprefix _tmp/,$(notdir $(mod_all_cpp_files))) ./ || true
192192 rm -rf $(MODC_DIR)/_tmp
193- cd $(MODC_DIR) && python $(datadir)/kinderiv.py
193+ cd $(MODC_DIR) && @PYTHON_EXECUTABLE@ $(datadir)/kinderiv.py
194194
195195
196196$(dimplic_c): $(dimplic_src) | $(MODC_DIR)
You can’t perform that action at this time.
0 commit comments