orocos / orocos-bayesian-filtering

The orocos Bayesian Filtering Library
148 stars 59 forks source link

CMmake logic doesn't verify if pkgconfig is installed #22

Closed toeklk closed 6 years ago

toeklk commented 6 years ago

migrated from Bugzilla #609 status NEW severity normal in component build system for --- Reported in version trunk on platform All Assigned to: BFL mailinglist

On 2009-01-08 09:18:15 +0100, Klaas Gadeyne wrote:

  [reported by Farzin and Emmanuel Vanderpoorten, both detected this error compiling BFL with some version of Visual Studio] See http://www.orocos.org/node/915 Solution is probably to add the test for pkgconfig_executable and only install the pc-file if found.

On 2009-01-08 09:52:45 +0100, Klaas Gadeyne wrote:

  (In reply to comment # 0) > [reported by Farzin and Emmanuel Vanderpoorten, both detected this error > compiling BFL with some version of Visual Studio] See http://www.orocos.org/node/915 Solution is probably to add the test for pkgconfig_executable and only install > the pc-file if found. After some discussion this solution is probably wrong, since it is cmake (and not pkgconfig) that should turn the .pc.in file in a .pc file.
kunaltyagi commented 6 years ago

Should find_package(PkgConfig) be added to CMake file or should this be closed?