mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
23 lines
479 B
CMake
23 lines
479 B
CMake
|
# QMDNSENGINE_FOUND
|
||
|
# QMDNS_INCLUDE_DIR
|
||
|
# QMDNS_LIBRARIES
|
||
|
|
||
|
find_path(QMDNS_INCLUDE_DIR
|
||
|
NAMES qmdnsengine/mdns.h
|
||
|
PATH_SUFFIXES include
|
||
|
)
|
||
|
|
||
|
find_library(QMDNS_LIBRARIES
|
||
|
NAMES libqmdnsengine.a
|
||
|
PATHS /usr/local /usr
|
||
|
PATH_SUFFIXES lib64 lib
|
||
|
)
|
||
|
|
||
|
include(FindPackageHandleStandardArgs)
|
||
|
find_package_handle_standard_args(qmdnsengine
|
||
|
FOUND_VAR QMDNSENGINE_FOUND
|
||
|
REQUIRED_VARS QMDNS_INCLUDE_DIR QMDNS_LIBRARIES
|
||
|
)
|
||
|
|
||
|
mark_as_advanced(QMDNS_INCLUDE_DIR QMDNS_LIBRARIES)
|