Skip to content

Commit 88da26d

Browse files
committed
pyhton -> python
1 parent 90ff776 commit 88da26d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/FindNodeJS.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ if(NOT NODEJS_LIBRARY)
336336
ProcessorCount(N)
337337

338338
if(NOT N EQUAL 0)
339-
execute_process(COMMAND sh -c "alias pyhton=`which python2.7`; make -j${N} -C out BUILDTYPE=${CMAKE_BUILD_TYPE} V=1" WORKING_DIRECTORY "${NODEJS_OUTPUT_PATH}" OUTPUT_QUIET)
339+
execute_process(COMMAND sh -c "alias python=`which python2.7`; make -j${N} -C out BUILDTYPE=${CMAKE_BUILD_TYPE} V=1" WORKING_DIRECTORY "${NODEJS_OUTPUT_PATH}" OUTPUT_QUIET)
340340
else()
341-
execute_process(COMMAND sh -c "alias pyhton=`which python2.7`; make -C out BUILDTYPE=${CMAKE_BUILD_TYPE} V=1" WORKING_DIRECTORY "${NODEJS_OUTPUT_PATH}" OUTPUT_QUIET)
341+
execute_process(COMMAND sh -c "alias python=`which python2.7`; make -C out BUILDTYPE=${CMAKE_BUILD_TYPE} V=1" WORKING_DIRECTORY "${NODEJS_OUTPUT_PATH}" OUTPUT_QUIET)
342342
endif()
343343

344344
message(STATUS "Install NodeJS shared library")

0 commit comments

Comments
 (0)