We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b56b61 commit 91a4553Copy full SHA for 91a4553
cmake/FindNodeJS.cmake
@@ -503,6 +503,11 @@ if(NOT NodeJS_LIBRARY)
503
endif()
504
505
506
+ # Set up the compile path in case of prefix is specified
507
+ if(NOT WIN32 AND NOT MSVC AND NodeJS_INSTALL_PREFIX)
508
+ set(NodeJS_COMPILE_PATH "${NodeJS_INSTALL_PREFIX}/lib")
509
+ endif()
510
+
511
# Find compiled library
512
find_library(NodeJS_LIBRARY
513
NAMES ${NodeJS_LIBRARY_NAMES}
0 commit comments