diff --git a/source/loaders/node_loader/CMakeLists.txt b/source/loaders/node_loader/CMakeLists.txt index 5324ea73c..f1803877a 100644 --- a/source/loaders/node_loader/CMakeLists.txt +++ b/source/loaders/node_loader/CMakeLists.txt @@ -157,6 +157,8 @@ target_link_libraries(${target} PRIVATE ${META_PROJECT_NAME}::metacall # MetaCall library + $<$:${NodeJS_LIBRARY}> # NodeJS library + PUBLIC ${DEFAULT_LIBRARIES} @@ -197,9 +199,6 @@ target_compile_options(${target} add_link_options(${target} PRIVATE - $<$:/IGNORE:4199> - $<$:/DELAYLOAD:${NodeJS_LIBRARY_NAME}> - $<$:/DELAYLOAD:${NodeJS_LIBRARY_NAME}> $<$,$>:-undefined dynamic_lookup> PUBLIC