File: FindKDSoap.cmake

package info (click to toggle)
kdsoap 1.9.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,564 kB
  • sloc: cpp: 18,969; python: 438; sh: 281; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 924 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# - Find KDSoap
# This module finds if KDSoap is installed.
#
# KDSoap_FOUND		- Set to TRUE if KDSoap was found.
# KDSoap_LIBRARIES	- Path to KDSoap libraries.
# KDSoap_INCLUDE_DIR	- Path to the KDSoap include directory.
# KDSoap_CODEGENERATOR	- Path to the KDSoap code generator.
#
# Copyright (C) 2011-2020 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com

# Redistribution and use is allowed according to the terms of the BSD license

include(FindPackageHandleStandardArgs)

find_library(KDSoap_LIBRARIES 
	NAMES KDSoap kdsoap 
	PATH_SUFFIXES bin)
find_path(KDSoap_INCLUDE_DIR 
   NAMES KDSoapClient/KDSoapValue.h
   PATH_SUFFIXES include src)
find_program(KDSoap_CODEGENERATOR
	NAMES kdwsdl2cpp
	PATH_SUFFIXES bin)

mark_as_advanced(KDSoap_LIBRARIES KDSoap_INCLUDE_DIR KDSoap_CODEGENERATOR)

find_package_handle_standard_args(KDSoap DEFAULT_MSG KDSoap_LIBRARIES KDSoap_INCLUDE_DIR KDSoap_CODEGENERATOR)