File: FindSignOnQt.cmake

package info (click to toggle)
ktp-auth-handler 22.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 560 kB
  • sloc: cpp: 1,326; sh: 3; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# - Try to find SignOnQt
# Once done this will define
#  SIGNONQT_FOUND - System has libsignon-qt
#  SIGNONQT_INCLUDE_DIRS - The libsignon-qt include directories
#  SIGNONQT_LIBRARIES - The libraries needed to use libsignon-qt

find_path(SIGNONQT_INCLUDE_DIR SignOn/AuthService PATH_SUFFIXES signon-qt )

find_library(SIGNONQT_LIBRARY NAMES signon-qt libsignon-qt)

set(SIGNONQT_LIBRARIES ${SIGNONQT_LIBRARY} )
set(SIGNONQT_INCLUDE_DIRS ${SIGNONQT_INCLUDE_DIR} )

include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set  SIGNONQT_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args(signonqt  DEFAULT_MSG
                                  SIGNONQT_LIBRARY SIGNONQT_INCLUDE_DIR)

mark_as_advanced(SIGNONQT_INCLUDE_DIR SIGNONQT_LIBRARY )