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 --- src/modules/http/CMakeLists.txt | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/modules/http') diff --git a/src/modules/http/CMakeLists.txt b/src/modules/http/CMakeLists.txt index f421cbfee..4b82b0895 100644 --- a/src/modules/http/CMakeLists.txt +++ b/src/modules/http/CMakeLists.txt @@ -1,24 +1,24 @@ # CMakeLists for src/modules/http -SET(kvihttp_SRCS +set(kvihttp_SRCS libkvihttp.cpp HttpFileTransfer.cpp ) -SET(files +set(files kvi_httpicons.png ) -SET(kvi_module_name kvihttp) -INCLUDE(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt) +set(kvi_module_name kvihttp) +include(${CMAKE_SOURCE_DIR}/cmake/module.rules.txt) -IF(UNIX) - IF(APPLE) - INSTALL(FILES ${files} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/pics/) - ELSE() +if(UNIX) + if(APPLE) + install(FILES ${files} DESTINATION ${CMAKE_INSTALL_PREFIX}/Contents/Resources/pics/) + else() # Assume linux - INSTALL(FILES ${files} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/pics/) - ENDIF() -ELSEIF(WIN32) - INSTALL(FILES ${files} DESTINATION ${CMAKE_INSTALL_PREFIX}/pics/) -ENDIF() \ No newline at end of file + install(FILES ${files} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/pics/) + endif() +elseif(WIN32) + install(FILES ${files} DESTINATION ${CMAKE_INSTALL_PREFIX}/pics/) +endif() \ No newline at end of file -- cgit v1.3.1-10-gc9f91