You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# TODO: Delete this workaround after implementing the install command
@@ -421,14 +427,14 @@ if(NOT NODEJS_LIBRARY)
421
427
ProcessorCount(N)
422
428
423
429
if(NOT N EQUAL 0)
424
-
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)
430
+
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}")
425
431
else()
426
-
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)
432
+
execute_process(COMMAND sh -c "alias python=`which python2.7`; make -C out BUILDTYPE=${CMAKE_BUILD_TYPE} V=1"WORKING_DIRECTORY"${NODEJS_OUTPUT_PATH}")
427
433
endif()
428
434
429
435
message(STATUS"Install NodeJS shared library")
430
436
431
-
execute_process(COMMAND sh -c "make install"WORKING_DIRECTORY"${NODEJS_OUTPUT_PATH}"OUTPUT_QUIET)
437
+
execute_process(COMMAND sh -c "make install"WORKING_DIRECTORY"${NODEJS_OUTPUT_PATH}")
432
438
endif()
433
439
endif()
434
440
@@ -448,6 +454,10 @@ if(NOT NODEJS_LIBRARY)
448
454
DOC"NodeJS JavaScript Runtime Library"
449
455
)
450
456
endif()
457
+
458
+
if(NOT NODEJS_LIBRARY)
459
+
message(SEND_ERROR "NodeJS library not found and it could not be built from source")
0 commit comments