Commit 30db879 1 parent cc7ad4e commit 30db879 Copy full SHA for 30db879
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,10 @@ setup(
161
161
)
162
162
163
163
# generate/install entry-point console scripts
164
+ get_executable_path(python_interpreter_config Python3::Interpreter CONFIGURE)
164
165
foreach (_dest ${ARG_SCRIPTS_DESTINATION} )
165
166
get_filename_component (ABS_SCRIPTS_DESTINATION "${_dest} " ABSOLUTE BASE_DIR "${CMAKE_INSTALL_PREFIX} " )
166
- install (CODE "execute_process(COMMAND ${python_interpreter} setup.py install_scripts --install-dir \" ${ABS_SCRIPTS_DESTINATION} \"
167
+ install (CODE "execute_process(COMMAND \" ${python_interpreter_config} \" setup.py install_scripts --install-dir \" ${ABS_SCRIPTS_DESTINATION} \"
167
168
WORKING_DIRECTORY \" ${build_dir} \" )" )
168
169
endforeach ()
169
170
@@ -175,7 +176,6 @@ setup(
175
176
)
176
177
177
178
if (NOT ARG_SKIP_COMPILE)
178
- get_executable_path(python_interpreter_config Python3::Interpreter CONFIGURE)
179
179
# compile Python files
180
180
install (CODE
181
181
"execute_process(
You can’t perform that action at this time.
0 commit comments