Skip to content

Commit

Permalink
Minor bug on FindNodeJS.cmake for mingw32 cross-compiling target.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Dec 8, 2021
1 parent dd0d687 commit 8e293b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindNodeJS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ if(NOT NodeJS_LIBRARY)

# Compile node as a shared library if needed
if(NOT EXISTS "${NodeJS_COMPILE_PATH}")
if(WIN32)
if(WIN32 AND MSVC)
if(NOT EXISTS "${NodeJS_COMPILE_PATH}/node.dll" AND NOT EXISTS "${NodeJS_COMPILE_PATH}/libnode.dll")
message(STATUS "Build NodeJS shared library")

Expand Down

0 comments on commit 8e293b8

Please sign in to comment.