summaryrefslogtreecommitdiffstats
path: root/Polkittqt-1Config.cmake.in
blob: 6b033c3811557ed7a714a93ef248dbd214fb425f (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# PolkitTQt-1Config.cmake is generated by CMake from PolkitTQt-1Config.cmake.in.
# Any changed value in this file will be overwritten by CMake.

# set the PolkitTQt-1 version number
set(POLKITTQT-1_VERSION_MAJOR   @POLKITTQT-1_VERSION_MAJOR@)
set(POLKITTQT-1_VERSION_MINOR   @POLKITTQT-1_VERSION_MINOR@)
set(POLKITTQT-1_VERSION_PATCH   @POLKITTQT-1_VERSION_PATCH@)
set(POLKITTQT-1_VERSION         @POLKITTQT-1_VERSION_STRING@)
set(POLKITTQT-1_VERSION_STRING "@POLKITTQT-1_VERSION_STRING@")

# set the directories
if(NOT POLKITTQT-1_INSTALL_DIR)
   set(POLKITTQT-1_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")
endif(NOT POLKITTQT-1_INSTALL_DIR)

set(POLKITTQT-1_INCLUDE_DIR              "@INCLUDE_INSTALL_DIR@/polkit-tqt-1")
set(POLKITTQT-1_LIB_DIR                  "@LIB_INSTALL_DIR@")
set(POLKITTQT-1_POLICY_FILES_INSTALL_DIR "${POLKITTQT-1_INSTALL_DIR}/share/polkit-1/actions")

# Compatibility
if(WIN32)
if(MINGW)
  set(POLKITTQT-1_CORE_LIBRARY         "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-core-1.dll.a")
  set(POLKITTQT-1_AGENT_LIBRARY        "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-agent-1.dll.a")
  set(POLKITTQT-1_GUI_LIBRARY          "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-gui-1.dll.a")
else(MINGW)
  set(POLKITTQT-1_CORE_LIBRARY         "${POLKITTQT-1_LIB_DIR}/polkit-tqt-core-1.lib")
  set(POLKITTQT-1_AGENT_LIBRARY        "${POLKITTQT-1_LIB_DIR}/polkit-tqt-agent-1.lib")
  set(POLKITTQT-1_GUI_LIBRARY          "${POLKITTQT-1_LIB_DIR}/polkit-tqt-gui-1.lib")
endif(MINGW)
elseif(APPLE)
  set(POLKITTQT-1_CORE_LIBRARY         "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-core-1.dylib")
  set(POLKITTQT-1_AGENT_LIBRARY        "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-agent-1.dylib")
  set(POLKITTQT-1_GUI_LIBRARY          "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-gui-1.dylib")
else()
  set(POLKITTQT-1_CORE_LIBRARY         "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-core-1.so")
  set(POLKITTQT-1_AGENT_LIBRARY        "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-agent-1.so")
  set(POLKITTQT-1_GUI_LIBRARY          "${POLKITTQT-1_LIB_DIR}/libpolkit-tqt-gui-1.so")
endif()

set(POLKITTQT-1_LIBRARIES ${POLKITTQT-1_GUI_LIBRARY} ${POLKITTQT-1_CORE_LIBRARY} ${POLKITTQT-1_AGENT_LIBRARY})