summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-26 13:16:15 -0600
committerTimothy Pearson <[email protected]>2013-01-26 13:16:15 -0600
commit7e09b5c2efae58399621a938de26b9675b8ba621 (patch)
treede2c9535e1f4c48ae91910492d298eba1d593fd5 /tdescreensaver/xsavers/CMakeLists.txt
parent159f7e147ac33c924b3ce9050c8f03cbc54916ee (diff)
downloadtdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.tar.gz
tdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdescreensaver/xsavers/CMakeLists.txt')
-rw-r--r--tdescreensaver/xsavers/CMakeLists.txt52
1 files changed, 52 insertions, 0 deletions
diff --git a/tdescreensaver/xsavers/CMakeLists.txt b/tdescreensaver/xsavers/CMakeLists.txt
new file mode 100644
index 00000000..e636ac18
--- /dev/null
+++ b/tdescreensaver/xsavers/CMakeLists.txt
@@ -0,0 +1,52 @@
+#################################################
+#
+# (C) 2011 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### shared source ##########################
+
+set( BASE_SRCS main.cpp demowin.cpp saver.cpp helpers.cpp )
+set( XL_SRCS xlock.cpp )
+
+##### kswarm #################################
+
+tde_add_executable( kswarm.kss AUTOMOC
+ SOURCES swarm.cpp ${BASE_SRCS} ${XL_SRCS}
+ LINK tdeui-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+install( FILES KSwarm.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers )
+
+##### kswarm #################################
+
+if( WITH_OPENGL )
+ include_directories( ${OPENGL_INCLUDE_DIRS} )
+ link_directories( ${OPENGL_LIBRARY_DIRS} )
+ tde_add_executable( kspace.kss AUTOMOC
+ SOURCES space.cpp ${BASE_SRCS} ${XL_SRCS}
+ LINK tdeui-shared ${OPENGL_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+
+ install( FILES KSpace.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers )
+endif( WITH_OPENGL )
+
+