From kde-commits Tue Sep 04 08:39:59 2012 From: Michael Palimaka Date: Tue, 04 Sep 2012 08:39:59 +0000 To: kde-commits Subject: [marble/KDE/4.9] src/plugins/runner: Fix automagic dependency on shapelib. Message-Id: <20120904083959.DFC7DA6094 () git ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=134674801012921 Git commit 034464633464ef10c9a51cb6fc31ea5c902740d7 by Michael Palimaka. Committed on 04/09/2012 at 10:36. Pushed by palimaka into branch 'KDE/4.9'. Fix automagic dependency on shapelib. REVIEW: 106319 M +1 -1 src/plugins/runner/CMakeLists.txt http://commits.kde.org/marble/034464633464ef10c9a51cb6fc31ea5c902740d7 diff --git a/src/plugins/runner/CMakeLists.txt b/src/plugins/runner/CMakeLi= sts.txt index 4ab295a..0b82fa7 100644 --- a/src/plugins/runner/CMakeLists.txt +++ b/src/plugins/runner/CMakeLists.txt @@ -26,7 +26,7 @@ add_subdirectory( osm ) add_subdirectory( pnt ) add_subdirectory( log ) = -find_package( libshp ) +macro_optional_find_package( libshp ) if( LIBSHP_FOUND ) add_subdirectory( shp ) endif( LIBSHP_FOUND )