kdelibs/cmake/modules/FindLibKonq.cmake

25 lines
736 B
CMake
Raw Normal View History

# Try to find konqueror library, once done this will define:
2014-11-13 01:04:59 +02: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
#
# Copyright (c) 2020 Ivailo Monev <xakepa10@gmail.com>
#
# 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
find_path(LIBKONQ_INCLUDE_DIR
NAMES konq_popupmenuplugin.h
HINTS $ENV{LIBKONQDIR}/include
)
2014-11-13 01:04:59 +02:00
find_library(LIBKONQ_LIBRARY
NAMES konq
HINTS $ENV{LIBKONQDIR}/lib
)
2014-11-13 01:04:59 +02:00
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibKonq
REQUIRED_VARS LIBKONQ_LIBRARY LIBKONQ_INCLUDE_DIR
)