diff options
| author | 2012-10-04 09:29:35 +0000 | |
|---|---|---|
| committer | 2012-10-04 09:29:35 +0000 | |
| commit | 91f40dca07efe74bbb29eb911ae23a8b2da2fdbe (patch) | |
| tree | 8451deb07408f9bd1a29ab7d64c7cd5c3b5c842f /src/modules/http | |
| parent | fix previous commit (diff) | |
| download | KVIrc-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/http')
| -rw-r--r-- | src/modules/http/CMakeLists.txt | 26 |
1 files changed, 13 insertions, 13 deletions
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 |
