mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
enable readline support if header and lib found
This commit is contained in:
parent
e49b5ed201
commit
b0d6c01911
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ endif ( READLINE_INCLUDE_DIR AND READLINE_LIBRARIES )
|
|||
find_path ( READLINE_INCLUDE_DIR NAMES history.h readline/history.h )
|
||||
find_library ( READLINE_LIBRARIES NAMES readline )
|
||||
|
||||
if ( READLINE_INCLUDE_DIR )
|
||||
set ( HAVE_READLINE TRUE CACHE TYPE BOOL )
|
||||
endif ( READLINE_INCLUDE_DIR )
|
||||
if ( READLINE_INCLUDE_DIR AND READLINE_LIBRARIES )
|
||||
set ( HAVE_READLINE TRUE CACHE BOOL )
|
||||
endif ( READLINE_INCLUDE_DIR AND READLINE_LIBRARIES )
|
||||
|
||||
include ( FindPackageHandleStandardArgs )
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS( READLINE DEFAULT_MSG
|
||||
|
|
Loading…
Reference in a new issue