Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#96 FindPLplot.cmake on Debian needs PATH_SUFFIXES for find_path

closed-fixed
Alan W. Irwin
None
5
2010-09-08
2010-09-07
Gareth Fare
No

Using the default install of PLplot using apt-get on Ubuntu 10.04 LTS - the Lucid Lynx and the FindPLplot.cmake Module fails with the following message.

CMake Error at /usr/share/cmake-2.8/Modules/FindPLplot.cmake:73 (message):
FindPLplot: Could not find PLplot headers or library
Call Stack (most recent call first):
nSignalLibrary/CMakeLists.txt:1 (find_package)

This is because the find_path function is not using a suffix for the search parameters. Attached is a revised version.

Discussion

  • Gareth Fare
    Gareth Fare
    2010-09-07

    Revised cmake Module for PLplot

     
    Attachments
  • Gareth Fare
    Gareth Fare
    2010-09-07

    • summary: FindPLplot.cmake on Debian needs PATH_SUFFIXES for find_ipat --> FindPLplot.cmake on Debian needs PATH_SUFFIXES for find_path
     
  • Alan W. Irwin
    Alan W. Irwin
    2010-09-08

    • assigned_to: nobody --> airwin
    • status: open --> closed-fixed
     
  • Alan W. Irwin
    Alan W. Irwin
    2010-09-08

    Thanks for finding this bug and suggesting a fix which I have applied (revision 11161) to the svn trunk version of PLplot.