aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/tip
diff options
context:
space:
mode:
authorGravatar Robert Förster2012-10-04 09:29:35 +0000
committerGravatar Robert Förster2012-10-04 09:29:35 +0000
commit91f40dca07efe74bbb29eb911ae23a8b2da2fdbe (patch)
tree8451deb07408f9bd1a29ab7d64c7cd5c3b5c842f /src/modules/tip
parentfix previous commit (diff)
downloadKVIrc-91f40dca07efe74bbb29eb911ae23a8b2da2fdbe.tar.gz
KVIrc-91f40dca07efe74bbb29eb911ae23a8b2da2fdbe.tar.bz2
KVIrc-91f40dca07efe74bbb29eb911ae23a8b2da2fdbe.zip
convert cmake files to lowercase statements prehistoric cmake versions required uppercase, but lowercase is now preferred so change it (yeah feel free to hate me for this commit )
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6267 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/tip')
-rw-r--r--src/modules/tip/CMakeLists.txt34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/tip/CMakeLists.txt b/src/modules/tip/CMakeLists.txt
index 3dc50b888..1e14e4c9a 100644
--- a/src/modules/tip/CMakeLists.txt
+++ b/src/modules/tip/CMakeLists.txt
@@ -1,26 +1,26 @@
# CMakeLists for src/modules/tip
-SET(kvitip_SRCS
+set(kvitip_SRCS
libkvitip.cpp
)
-FILE(GLOB tips "*.kvc")
-FILE(GLOB pics "*.png")
+file(GLOB tips "*.kvc")
+file(GLOB pics "*.png")
-SET(kvi_module_name kvitip)
-INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
+set(kvi_module_name kvitip)
+include(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt)
# Install rule
-IF(UNIX)
- IF(APPLE)
- INSTALL(FILES ${tips} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/config/modules/)
- INSTALL(FILES ${pics} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/pics/)
- ELSE()
+if(UNIX)
+ if(APPLE)
+ install(FILES ${tips} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/config/modules/)
+ install(FILES ${pics} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/pics/)
+ else()
# Assume linux
- INSTALL(FILES ${tips} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/config/modules/)
- INSTALL(FILES ${pics} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/pics/)
- ENDIF()
-ELSEIF(WIN32)
- INSTALL(FILES ${tips} DESTINATION ${CMAKE_INSTALL_PREFIX}/config/modules/)
- INSTALL(FILES ${pics} DESTINATION ${CMAKE_INSTALL_PREFIX}/pics/)
-ENDIF() \ No newline at end of file
+ install(FILES ${tips} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/config/modules/)
+ install(FILES ${pics} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/pics/)
+ endif()
+elseif(WIN32)
+ install(FILES ${tips} DESTINATION ${CMAKE_INSTALL_PREFIX}/config/modules/)
+ install(FILES ${pics} DESTINATION ${CMAKE_INSTALL_PREFIX}/pics/)
+endif() \ No newline at end of file