diff options
Diffstat (limited to 'Polkittqt-1Config.cmake.in')
-rw-r--r-- | Polkittqt-1Config.cmake.in | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Polkittqt-1Config.cmake.in b/Polkittqt-1Config.cmake.in new file mode 100644 index 000000000..6b033c381 --- /dev/null +++ b/Polkittqt-1Config.cmake.in @@ -0,0 +1,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}) |