mirror of https://github.com/microsoft/vcpkg.git
parent
b23dcc7894
commit
3f18689c2b
|
|
@ -13,6 +13,12 @@ set_target_properties(unofficial::node-api::node-api PROPERTIES
|
|||
INTERFACE_INCLUDE_DIRECTORIES "${node-api_INCLUDE_DIR}"
|
||||
)
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(unofficial::node-api::node-api PROPERTIES
|
||||
INTERFACE_LINK_OPTIONS "LINKER:SHELL:-undefined dynamic_lookup"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
find_library(node-api_LIBRARY_RELEASE NAMES node PATHS "${CMAKE_CURRENT_LIST_DIR}/../../lib" NO_DEFAULT_PATH REQUIRED)
|
||||
find_library(node-api_LIBRARY_DEBUG NAMES node PATHS "${CMAKE_CURRENT_LIST_DIR}/../../debug/lib" NO_DEFAULT_PATH REQUIRED)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "node-api",
|
||||
"version-semver": "18.12.1",
|
||||
"port-version": 1,
|
||||
"description": "NodeJS API for writing modules in C++",
|
||||
"homepage": "https://nodejs.org/api/addons.html",
|
||||
"license": null,
|
||||
|
|
|
|||
|
|
@ -5346,7 +5346,7 @@
|
|||
},
|
||||
"node-api": {
|
||||
"baseline": "18.12.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"nonius": {
|
||||
"baseline": "2019-04-20",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1b12126f91686d77b2ea46cd9c7e311f000f7bb9",
|
||||
"version-semver": "18.12.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "174e2ac98335fd5510219bd9e0b550b51ce14ee3",
|
||||
"version-semver": "18.12.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue