summaryrefslogtreecommitdiffstats
path: root/PolkitQt-1Config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'PolkitQt-1Config.cmake.in')
-rw-r--r--PolkitQt-1Config.cmake.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/PolkitQt-1Config.cmake.in b/PolkitQt-1Config.cmake.in
new file mode 100644
index 000000000..1356de7af
--- /dev/null
+++ b/PolkitQt-1Config.cmake.in
@@ -0,0 +1,41 @@
+# PolkitQt-1Config.cmake is generated by CMake from PolkitQt-1Config.cmake.in.
+# Any changed value in this file will be overwritten by CMake.
+
+# set the PolkitQt-1 version number
+set(POLKITQT-1_VERSION_MAJOR @POLKITQT-1_VERSION_MAJOR@)
+set(POLKITQT-1_VERSION_MINOR @POLKITQT-1_VERSION_MINOR@)
+set(POLKITQT-1_VERSION_PATCH @POLKITQT-1_VERSION_PATCH@)
+set(POLKITQT-1_VERSION @POLKITQT-1_VERSION_STRING@)
+set(POLKITQT-1_VERSION_STRING "@POLKITQT-1_VERSION_STRING@")
+
+# set the directories
+if(NOT POLKITQT-1_INSTALL_DIR)
+ set(POLKITQT-1_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@")
+endif(NOT POLKITQT-1_INSTALL_DIR)
+
+set(POLKITQT-1_INCLUDE_DIR "@INCLUDE_INSTALL_DIR@/polkit-qt-1")
+set(POLKITQT-1_LIB_DIR "@LIB_INSTALL_DIR@")
+set(POLKITQT-1_POLICY_FILES_INSTALL_DIR "${POLKITQT-1_INSTALL_DIR}/share/polkit-1/actions")
+
+# Compatibility
+if(WIN32)
+if(MINGW)
+ set(POLKITQT-1_CORE_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-core-1.dll.a")
+ set(POLKITQT-1_AGENT_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-agent-1.dll.a")
+ set(POLKITQT-1_GUI_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-gui-1.dll.a")
+else(MINGW)
+ set(POLKITQT-1_CORE_LIBRARY "${POLKITQT-1_LIB_DIR}/polkit-qt-core-1.lib")
+ set(POLKITQT-1_AGENT_LIBRARY "${POLKITQT-1_LIB_DIR}/polkit-qt-agent-1.lib")
+ set(POLKITQT-1_GUI_LIBRARY "${POLKITQT-1_LIB_DIR}/polkit-qt-gui-1.lib")
+endif(MINGW)
+elseif(APPLE)
+ set(POLKITQT-1_CORE_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-core-1.dylib")
+ set(POLKITQT-1_AGENT_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-agent-1.dylib")
+ set(POLKITQT-1_GUI_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-gui-1.dylib")
+else()
+ set(POLKITQT-1_CORE_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-core-1.so")
+ set(POLKITQT-1_AGENT_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-agent-1.so")
+ set(POLKITQT-1_GUI_LIBRARY "${POLKITQT-1_LIB_DIR}/libpolkit-qt-gui-1.so")
+endif()
+
+set(POLKITQT-1_LIBRARIES ${POLKITQT-1_GUI_LIBRARY} ${POLKITQT-1_CORE_LIBRARY} ${POLKITQT-1_AGENT_LIBRARY})