mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: allow empty option for pkg_config_library macro
Especially when adding new optional dependencies, you might want to have neither REQUIRED nor QUIET there - this way we can see in the CICD where the library is found and tested against. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c866d2bead
commit
68f8ca5fd0
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
MACRO(pkg_config_library LIBNAME pcfile option)
|
||||
pkg_check_modules(${LIBNAME} ${option} ${pcfile})
|
||||
MACRO(pkg_config_library LIBNAME pcfile )
|
||||
pkg_check_modules(${LIBNAME} ${ARGN} ${pcfile})
|
||||
include_directories(${${LIBNAME}_INCLUDE_DIRS})
|
||||
link_directories(${${LIBNAME}_LIBRARY_DIRS})
|
||||
add_definitions(${${LIBNAME}_CFLAGS_OTHER})
|
||||
|
|
Loading…
Add table
Reference in a new issue