Skip to content

Commit

Permalink
Merge pull request #4545 from panicgh/pc-file-fix
Browse files Browse the repository at this point in the history
Add missing pkg_config_defines when built with CMake
  • Loading branch information
bluca committed May 12, 2023
2 parents 077dd92 + 2da2bd8 commit cc12997
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ endif()
# Will be used to add flags to pkg-config useful when apps want to statically link
set(pkg_config_libs_private "")
set(pkg_config_names_private "")
set(pkg_config_defines "")

option(WITH_OPENPGM "Build with support for OpenPGM" OFF)
option(WITH_NORM "Build with support for NORM" OFF)
Expand Down Expand Up @@ -1463,6 +1464,7 @@ foreach(target ${build_targets})

if(ENABLE_DRAFTS)
target_compile_definitions(${target} PUBLIC ZMQ_BUILD_DRAFT_API)
set(pkg_config_defines "-DZMQ_BUILD_DRAFT_API=1")
endif()
endforeach()

Expand Down
15 changes: 15 additions & 0 deletions RELICENSE/panicgh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL

This is a statement by Nicolas Benes
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other
Open Source Initiative approved license chosen by the current ZeroMQ
BDFL (Benevolent Dictator for Life).

A portion of the commits made by the Github handle "panicgh", with
commit author "Nicolas Benes <nbenes.gh@xandea.de>", are copyright of Nicolas Benes.
This document hereby grants the libzmq project team to relicense libzmq,
including all past, present and future contributions of the author listed above.

Nicolas Benes
2023/05/12

0 comments on commit cc12997

Please sign in to comment.