2021-03-07 02:40:21 +02:00
|
|
|
# Try to find konqueror library, once done this will define:
|
2014-11-13 01:04:59 +02:00
|
|
|
#
|
2020-03-24 03:26:51 +00:00
|
|
|
# LIBKONQ_FOUND - system has konqueror library
|
|
|
|
# LIBKONQ_INCLUDE_DIR - the konqueror library include directory
|
|
|
|
# LIBKONQ_LIBRARY - the konqueror library
|
2014-11-13 01:04:59 +02:00
|
|
|
#
|
2021-03-07 02:40:21 +02:00
|
|
|
# Copyright (c) 2020 Ivailo Monev <xakepa10@gmail.com>
|
2020-03-24 03:26:51 +00:00
|
|
|
#
|
|
|
|
# Redistribution and use is allowed according to the terms of the BSD license.
|
|
|
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2020-03-24 03:26:51 +00:00
|
|
|
find_path(LIBKONQ_INCLUDE_DIR
|
|
|
|
NAMES konq_popupmenuplugin.h
|
|
|
|
HINTS $ENV{LIBKONQDIR}/include
|
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
2020-03-24 03:26:51 +00:00
|
|
|
find_library(LIBKONQ_LIBRARY
|
|
|
|
NAMES konq
|
|
|
|
HINTS $ENV{LIBKONQDIR}/lib
|
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
include(FindPackageHandleStandardArgs)
|
2020-03-24 03:26:51 +00:00
|
|
|
find_package_handle_standard_args(LibKonq
|
|
|
|
REQUIRED_VARS LIBKONQ_LIBRARY LIBKONQ_INCLUDE_DIR
|
|
|
|
)
|