From 7782063858c2d6f173f0780bbf2d768c52fcb5ff Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 3 May 2011 19:24:49 +0000 Subject: [PATCH] Cutecash: Fix guile check. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20609 57a11ea4-9604-0410-9ed3-97b8803252fd --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 97c5019c09..625b1752a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,9 +82,9 @@ ADD_DEFINITIONS (-DHAVE_GUILE18) # We also need to look up the executable FIND_PROGRAM (GUILE_EXECUTABLE guile) -IF (NOT GUILE_INCLUDE_DIRS) +IF (NOT GUILE_FOUND) MESSAGE (SEND_ERROR "Guile was not found, but is required. Please set PKG_CONFIG_PATH so that guile-1.8.pc is found.") -ENDIF (NOT GUILE_INCLUDE_DIRS) +ENDIF (NOT GUILE_FOUND) IF (NOT GUILE_EXECUTABLE) MESSAGe (SEND_ERROR "The guile executable was not found, but is required. Please set GUILE_EXECUTABLE.") ENDIF (NOT GUILE_EXECUTABLE)