File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -171,8 +171,6 @@ if(NODEJS_INCLUDE_DIR)
171171 endforeach ()
172172endif ()
173173
174- message (STATUS "NodeJS include dir: ${NODEJS_INCLUDE_DIR} " )
175-
176174# TODO: Remove this workaround when NodeJS begins to distribute node as a shared library (maybe never?) with proper includes
177175if (NOT NODEJS_INCLUDE_DIR)
178176 if (NOT NODEJS_VERSION)
@@ -200,6 +198,8 @@ if(NOT NODEJS_INCLUDE_DIR)
200198
201199 set (NODEJS_INCLUDE_PATHS ${NODEJS_OUTPUT_PATH} )
202200
201+ execute_process (COMMAND ls -la ${NODEJS_INCLUDE_PATHS} )
202+
203203 # Find NodeJS includes
204204 find_path (NODEJS_INCLUDE_DIR ${NODEJS_HEADERS}
205205 PATHS ${NODEJS_INCLUDE_PATHS}
@@ -208,6 +208,8 @@ if(NOT NODEJS_INCLUDE_DIR)
208208 )
209209endif ()
210210
211+ message (STATUS "NodeJS include dir: ${NODEJS_INCLUDE_DIR} " )
212+
211213if (NODEJS_INCLUDE_DIR)
212214 # Detect NodeJS V8 version
213215 find_file (NODEJS_V8_VERSION_FILE_PATH v8-version .h
You can’t perform that action at this time.
0 commit comments