diff options
author | click <none@none> | 2010-08-28 22:02:38 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-28 22:02:38 +0200 |
commit | 2bfaeaeabe01c07eff2044c2103d0ffee1423937 (patch) | |
tree | 8e68b398afc2b6f729e249977c2ed38b8e308d53 | |
parent | cf841c8337ecc24270d9d633f79f3d4f4f0d75a4 (diff) |
Buildsystem: Make the Readline-test NOT behave like a "callable" macro - Find* functions are ALWAYS to be considered first in line when called
--HG--
branch : trunk
-rw-r--r-- | cmake/macros/FindReadline.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake/macros/FindReadline.cmake b/cmake/macros/FindReadline.cmake index 993ac5126c2..07c6b368df8 100644 --- a/cmake/macros/FindReadline.cmake +++ b/cmake/macros/FindReadline.cmake @@ -4,8 +4,6 @@ # READLINE_LIBRARY - full path to the READLINE library # READLINE_FOUND - TRUE if READLINE was found -MACRO(FIND_READLINE) - FIND_PATH(READLINE_INCLUDE_DIR readline/readline.h) FIND_LIBRARY(READLINE_LIBRARY NAMES readline) @@ -18,5 +16,3 @@ ELSE (READLINE_INCLUDE_DIR AND READLINE_LIBRARY) SET(READLINE_FOUND FALSE) MESSAGE(FATAL_ERROR "** Readline library not found!\n** Your distro may provide a binary for Readline e.g. for ubuntu try apt-get install libreadline5-dev") ENDIF (READLINE_INCLUDE_DIR AND READLINE_LIBRARY) - -ENDMACRO(FIND_READLINE) |