diff --git a/RELICENSE/WenbinHou.md b/RELICENSE/WenbinHou.md new file mode 100644 index 00000000..28eda9ad --- /dev/null +++ b/RELICENSE/WenbinHou.md @@ -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 Wenbin Hou +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 "Wenbin Hou", with +commit author "Wenbin Hou ", are copyright of Wenbin Hou. +This document hereby grants the libzmq project team to relicense libzmq, +including all past, present and future contributions of the author listed above. + +Wenbin Hou +2018/05/16 diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9a053f00..6c7135f6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -172,7 +172,7 @@ link_libraries(libzmq ${OPTIONAL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} unity) else () link_libraries(libzmq-static ${OPTIONAL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} unity) endif () -include_directories("${CMAKE_SOURCE_DIR}/../include" "${CMAKE_BINARY_DIR}") +include_directories("${ZeroMQ_SOURCE_DIR}/../include" "${ZeroMQ_BINARY_DIR}") foreach(test ${tests}) # target_sources not supported before CMake 3.1 @@ -199,7 +199,7 @@ foreach(test ${tests}) else() # per-test directories not generated on OS X / Darwin if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang.*") - link_directories(${test} PRIVATE "${CMAKE_SOURCE_DIR}/../lib") + link_directories(${test} PRIVATE "${ZeroMQ_SOURCE_DIR}/../lib") endif() endif() diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index a9a02c2e..29cde824 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -22,8 +22,8 @@ if(WIN32) link_libraries(ws2_32.lib) endif() -include_directories("${CMAKE_SOURCE_DIR}/include" "${CMAKE_SOURCE_DIR}/src" "${CMAKE_BINARY_DIR}") -include_directories("${CMAKE_SOURCE_DIR}/external/unity") +include_directories("${ZeroMQ_SOURCE_DIR}/include" "${ZeroMQ_SOURCE_DIR}/src" "${ZeroMQ_BINARY_DIR}") +include_directories("${ZeroMQ_SOURCE_DIR}/external/unity") foreach(test ${unittests}) # target_sources not supported before CMake 3.1 @@ -31,7 +31,7 @@ foreach(test ${unittests}) # per-test directories not generated on OS X / Darwin if (NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang.*") - link_directories(${test} PRIVATE "${CMAKE_SOURCE_DIR}/../lib") + link_directories(${test} PRIVATE "${ZeroMQ_SOURCE_DIR}/../lib") endif() target_link_libraries(${test} libzmq-static ${OPTIONAL_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} unity)