mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-14 18:41:54 +00:00
Set readline as required package
autotools already set it, but cmake and meson no.
This commit is contained in:
parent
58dd6c411e
commit
4111333521
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ configure_file(output: 'config.h',
|
|||
)
|
||||
|
||||
c_compiler = meson.get_compiler('c')
|
||||
readline = c_compiler.find_library('readline', required: false)
|
||||
readline = c_compiler.find_library('readline', required: true)
|
||||
if readline.found()
|
||||
add_project_arguments('-DHAVE_READLINE', language: 'c')
|
||||
endif
|
||||
|
|
|
@ -2,7 +2,7 @@ find_package(PkgConfig)
|
|||
pkg_check_modules (GLIB2 REQUIRED glib-2.0)
|
||||
link_directories( ${GLIB2_LIBRARY_DIRS})
|
||||
include_directories( ${GLIB2_INCLUDE_DIRS})
|
||||
find_package(Readline)
|
||||
find_package(Readline REQUIRED)
|
||||
pkg_check_modules (GLIB2 REQUIRED glib-2.0)
|
||||
########### next target ###############
|
||||
|
||||
|
|
Loading…
Reference in a new issue