diff options
author | Laurent Montel <montel@kde.org> | 2007-09-08 00:32:51 +0000 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2007-09-08 00:32:51 +0000 |
commit | a5be30967ab67b8cea69e6e3d1693616f0aa33a0 (patch) | |
tree | 7c00671b09a33835a11e9cd38f11c54f97b4a57d | |
parent | 1af88ae08df736f6c9866b4b2e85102603ad30dd (diff) | |
download | extra-cmake-modules-a5be30967ab67b8cea69e6e3d1693616f0aa33a0.tar.gz extra-cmake-modules-a5be30967ab67b8cea69e6e3d1693616f0aa33a0.tar.bz2 |
remove not necessary path
svn path=/trunk/KDE/kdelibs/; revision=709638
-rw-r--r-- | modules/FindGphoto2.cmake | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/modules/FindGphoto2.cmake b/modules/FindGphoto2.cmake index 6f966c02..b1bd6270 100644 --- a/modules/FindGphoto2.cmake +++ b/modules/FindGphoto2.cmake @@ -3,7 +3,7 @@ # GPHOTO2_INCLUDE_DIR - the GPHOTO2 include directory # GPHOTO2_LIBRARIES - The libraries needed to use GPHOTO2 -# Copyright (c) 2006, Laurent Montel, <montel@kde.org> +# Copyright (c) 2006, 2007 Laurent Montel, <montel@kde.org> # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. @@ -16,14 +16,10 @@ if (KDE4_GPHOTO2 ) SET(GPHOTO2_FOUND TRUE) ELSE (GPHOTO2_LIBRARIES AND GPHOTO2_INCLUDE_DIR) - FIND_PROGRAM(GHOTO2CONFIG_EXECUTABLE NAMES gphoto2-config PATHS - /usr/bin - /usr/local/bin + FIND_PROGRAM(GHOTO2CONFIG_EXECUTABLE NAMES gphoto2-config ) - FIND_PROGRAM(GHOTO2PORTCONFIG_EXECUTABLE NAMES gphoto2-port-config PATHS - /usr/bin - /usr/local/bin + FIND_PROGRAM(GHOTO2PORTCONFIG_EXECUTABLE NAMES gphoto2-port-config ) set(GPHOTO2_LIBRARIES) set(GPHOTO2_INCLUDE_DIRS) |