aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
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 'scripts')
-rw-r--r--scripts/CMakeLists.txt2
-rw-r--r--scripts/config/CMakeLists.txt20
2 files changed, 11 insertions, 11 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 709f33806..8271c13e2 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -1,4 +1,4 @@
# CMakeLists for scripts/
# Find subdirs
-SUBDIRS(config) \ No newline at end of file
+subdirs(config) \ No newline at end of file
diff --git a/scripts/config/CMakeLists.txt b/scripts/config/CMakeLists.txt
index 076d61e28..c0c909294 100644
--- a/scripts/config/CMakeLists.txt
+++ b/scripts/config/CMakeLists.txt
@@ -1,17 +1,17 @@
# CMakeLists for scripts/config
# Create bin
-IF(WANT_COEXISTENCE)
- SET(KVIRC_CONFIG ${PACKAGE}${VERSION_MAJOR}-config)
-ELSE()
- SET(KVIRC_CONFIG ${PACKAGE}-config)
-ENDIF()
+if(WANT_COEXISTENCE)
+ set(KVIRC_CONFIG ${PACKAGE}${VERSION_MAJOR}-config)
+else()
+ set(KVIRC_CONFIG ${PACKAGE}-config)
+endif()
# Install target
-IF(UNIX)
- IF(NOT APPLE)
+if(UNIX)
+ if(NOT APPLE)
# This files are useless because apple bundles are movable
# Assume linux
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${KVIRC_CONFIG} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
- ENDIF()
-ENDIF()
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${KVIRC_CONFIG} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+endif()