summaryrefslogtreecommitdiff
path: root/cmake/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/CMakeLists.txt')
-rw-r--r--cmake/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
new file mode 100644
index 0000000..be750f3
--- /dev/null
+++ b/cmake/CMakeLists.txt
@@ -0,0 +1,21 @@
+compiz_configure_file (
+ ${CMAKE_CURRENT_SOURCE_DIR}/CompizDefaults.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/CompizDefaults.cmake
+)
+
+set (_files
+ CompizCommon.cmake
+ CompizPlugin.cmake
+ CompizPackage.cmake
+ CompizBcop.cmake
+ ${CMAKE_CURRENT_BINARY_DIR}/CompizDefaults.cmake
+)
+
+if (USE_GCONF)
+ list (APPEND _files CompizGconf.cmake)
+endif ()
+
+install (
+ FILES ${_files}
+ DESTINATION ${COMPIZ_DESTDIR}${CMAKE_INSTALL_PREFIX}/share/compiz/cmake
+)