aboutsummaryrefslogtreecommitdiff
path: root/ports/nng/fix-include-path.patch
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2018-08-29 16:01:03 -0700
committerGitHub <noreply@github.com>2018-08-29 16:01:03 -0700
commit38c44e113fab45b0cb1c439ccf34896c5f32afaf (patch)
tree835da742597927d8738156b3908455af9435b988 /ports/nng/fix-include-path.patch
parent344df1f4d957a883506421d06ee96376cd3f37cd (diff)
parent2756b092cf393f25b6903f7b5d9406ad918fab82 (diff)
downloadvcpkg-38c44e113fab45b0cb1c439ccf34896c5f32afaf.tar.gz
vcpkg-38c44e113fab45b0cb1c439ccf34896c5f32afaf.zip
Merge pull request #4182 from myd7349/prs/nng
[nng] Add new package
Diffstat (limited to 'ports/nng/fix-include-path.patch')
-rw-r--r--ports/nng/fix-include-path.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/nng/fix-include-path.patch b/ports/nng/fix-include-path.patch
new file mode 100644
index 000000000..9c18b9933
--- /dev/null
+++ b/ports/nng/fix-include-path.patch
@@ -0,0 +1,14 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index e59ee5b..b5f6a0d 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -238,6 +238,9 @@ set_target_properties (${PROJECT_NAME} ${PROJECT_NAME}
+ target_link_libraries (${PROJECT_NAME} PRIVATE ${NNG_REQUIRED_LIBRARIES})
+ target_link_libraries (${PROJECT_NAME} PRIVATE Threads::Threads)
+
++# See: https://github.com/nanomsg/nanomsg/pull/949/
++target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
++
+ install (TARGETS ${PROJECT_NAME}
+ EXPORT ${PROJECT_NAME}-target
+ FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT library