From a5be30967ab67b8cea69e6e3d1693616f0aa33a0 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 8 Sep 2007 00:32:51 +0000 Subject: remove not necessary path svn path=/trunk/KDE/kdelibs/; revision=709638 --- modules/FindGphoto2.cmake | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'modules') 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, +# Copyright (c) 2006, 2007 Laurent Montel, # # 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) -- cgit v1.2.1