From 91f40dca07efe74bbb29eb911ae23a8b2da2fdbe Mon Sep 17 00:00:00 2001 From: Robert Förster Date: Thu, 4 Oct 2012 09:29:35 +0000 Subject: 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 --- scripts/CMakeLists.txt | 2 +- scripts/config/CMakeLists.txt | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'scripts') 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() -- cgit v1.3.1-10-gc9f91