Permalink
Browse files

Cutecash: Fix guile check.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20609 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information...
1 parent 855f8fd commit 7b2e53852e84918fd3a80b66a4722dfa3f55d052 @cstim committed May 3, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 CMakeLists.txt
View
4 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)

0 comments on commit 7b2e538

Please sign in to comment.