Project

General

Profile

Actions

Feature #2386

open

cmake: Use pkg-config to search for libev, add options to configure location manually

Added by tyll almost 10 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal

Description

On Fedora the correct path for ev.h is libev/ev.h, but fcgi-debug uses a hardcoded path without the libev directory. Can you please use pkgconfig or something else to determine the proper path for the header file?

Actions #1

Updated by stbuehler almost 10 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from fcgi-debug does not compile on Fedora (wrong path to ev.h) to cmake: Use pkg-config to search for libev, add options to configure location manually

The path is correct, but you have to add /usr/include/libev to the list of include directories, like CFLAGS=-I/usr/include/libev

Upstream libev still has no pkg-config files (although i think debian and opensuse have them). and yes, i tried getting it upstream :)

I'll tag this as a feature request to make this easier to configure.

As a reference: lighttpd2 already has this:

http://cgit.lighttpd.net/lighttpd/lighttpd2.git/tree/cmake/FindLibEV.cmake

Actions #2

Updated by 123 about 1 year ago

  • File 0.html added
Actions #3

Updated by stbuehler 4 months ago

  • File deleted (0.html)
Actions

Also available in: Atom