cmake: Build third-party only when both libev and libnghttp3 are found
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+if(LIBEV_FOUND AND LIBNGHTTP3_FOUND)
+
set(LIBHTTP_PARSER_SOURCES
http-parser/http_parser.c
)
add_library(http-parser OBJECT ${LIBHTTP_PARSER_SOURCES})
set_target_properties(http-parser PROPERTIES
POSITION_INDEPENDENT_CODE ON)
+
+endif()
