| Summary: | shapelib not found by CMake under Archlinux | ||
|---|---|---|---|
| Product: | [Applications] marble | Reporter: | Bernhard Beschow <shentey> |
| Component: | general | Assignee: | marble-bugs |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nienhueser |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 1.3 (KDE 4.8) | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Bernhard Beschow
2012-02-20 12:14:32 UTC
No cmake guru status needed for that ;-) The difference seems to be that ArchLinux installs the header as usr/include/libshp/shapefil.h, but Debian uses usr/include/shapefil.h. Replacing find_path(LIBSHP_INCLUDE_DIR NAMES shapefil.h) with find_path(LIBSHP_INCLUDE_DIR NAMES shapefil.h PATH_SUFFIXES libshp) possibly does the trick (in Findlibshp.cmake). See also cmake --help-command find_path Git commit 74e658af2f218e9f21e246245ead4a88a1af2fbb by Bernhard Beschow. Committed on 20/02/2012 at 16:35. Pushed by beschow into branch 'master'. find shapelib also under Archlinux Thanks to CMake guru Dennis! M +1 -1 Findlibshp.cmake http://commits.kde.org/marble/74e658af2f218e9f21e246245ead4a88a1af2fbb |