mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
baa9d834e7
* node-api-config-fix * port-ver * upd * hash * newver * add-ver * . * . * respect vcpkg_build_type in config * addver * Update node-addon-api.json
12 lines
506 B
CMake
12 lines
506 B
CMake
if(NOT TARGET unofficial::node-addon-api::node-addon-api)
|
|
include(CMakeFindDependencyMacro)
|
|
find_dependency(unofficial-node-api CONFIG)
|
|
|
|
add_library(unofficial::node-addon-api::node-addon-api IMPORTED INTERFACE)
|
|
target_link_libraries(unofficial::node-addon-api::node-addon-api INTERFACE unofficial::node-api::node-api)
|
|
|
|
set_target_properties(unofficial::node-addon-api::node-addon-api PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_LIST_DIR}/../../include/"
|
|
)
|
|
endif()
|