diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-20 19:16:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-20 19:16:01 +0200 |
commit | d0b95b68589f21dc603826e5ecbad3f7e7ff2edc (patch) | |
tree | 7784b0a2225757cc3b5e7e2764a9dc03721756ff | |
parent | f2fd562d79d9baabacac2f5c1362c692535f53b6 (diff) | |
download | weechat-d0b95b68589f21dc603826e5ecbad3f7e7ff2edc.zip |
core: remove whitespace in cmake files
-rw-r--r-- | CMakeLists.txt | 10 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 16 | ||||
-rw-r--r-- | src/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/gui/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/plugins/CMakeLists.txt | 38 | ||||
-rw-r--r-- | src/plugins/lua/CMakeLists.txt | 2 |
6 files changed, 37 insertions, 37 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5363a7a6c..bd0f9294b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,7 +178,7 @@ add_definitions(-DHAVE_ZLIB) # Check for iconv find_package(Iconv) if(ICONV_FOUND) - add_definitions( -DHAVE_ICONV ) + add_definitions(-DHAVE_ICONV) endif() # Check for CURL @@ -199,15 +199,15 @@ if(DL_LIBRARY) endif() if(ENABLE_NLS) - add_subdirectory( po ) + add_subdirectory(po) endif() -add_subdirectory( src ) -add_subdirectory( doc ) +add_subdirectory(src) +add_subdirectory(doc) if(ENABLE_TESTS) enable_testing() - add_subdirectory( tests ) + add_subdirectory(tests) endif() configure_file(config.h.cmake config.h @ONLY) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index ec8270dd0..04ce10355 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -22,13 +22,13 @@ if(ENABLE_MAN OR ENABLE_DOC) find_package(Sourcehighlight) find_package(Asciidoc) if(ASCIIDOC_FOUND) - add_subdirectory( en ) - add_subdirectory( fr ) - add_subdirectory( it ) - add_subdirectory( de ) - add_subdirectory( pl ) - add_subdirectory( es ) - add_subdirectory( ru ) - add_subdirectory( ja ) + add_subdirectory(en) + add_subdirectory(fr) + add_subdirectory(it) + add_subdirectory(de) + add_subdirectory(pl) + add_subdirectory(es) + add_subdirectory(ru) + add_subdirectory(ja) endif() endif() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 62fe0a3f8..9f5ed5f94 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,9 +26,9 @@ else() add_definitions(-DWEECHAT_VERSION='"${VERSION}"' -DWEECHAT_LICENSE='"${LICENSE}"') endif() -add_subdirectory( core ) +add_subdirectory(core) list(APPEND STATIC_LIBS weechat_core) -add_subdirectory( plugins ) +add_subdirectory(plugins) -add_subdirectory( gui ) +add_subdirectory(gui) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 12622224d..6702f6d75 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -43,5 +43,5 @@ include_directories(${CMAKE_BINARY_DIR}) add_library(weechat_gui_common STATIC ${LIB_GUI_COMMON_SRC}) if(ENABLE_NCURSES) - subdirs( curses ) + subdirs(curses) endif() diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt index f35c7a3af..04a56eca2 100644 --- a/src/plugins/CMakeLists.txt +++ b/src/plugins/CMakeLists.txt @@ -40,7 +40,7 @@ include(CheckFunctionExists) include(CheckLibraryExists) if(ENABLE_ALIAS) - add_subdirectory( alias ) + add_subdirectory(alias) endif() if(ENABLE_ASPELL) @@ -48,19 +48,19 @@ if(ENABLE_ASPELL) # Check for enchant libraries find_package(ENCHANT) if(ENCHANT_FOUND) - add_subdirectory( aspell ) + add_subdirectory(aspell) else() # Check for aspell libraries find_package(Aspell) if(ASPELL_FOUND) - add_subdirectory( aspell ) + add_subdirectory(aspell) endif() endif() else() # Check for aspell libraries find_package(Aspell) if(ASPELL_FOUND) - add_subdirectory( aspell ) + add_subdirectory(aspell) endif() endif() endif() @@ -68,82 +68,82 @@ endif() if(ENABLE_CHARSET) # Check for iconv support. if(ICONV_FOUND) - add_subdirectory( charset ) + add_subdirectory(charset) endif() endif() if(ENABLE_EXEC) - add_subdirectory( exec ) + add_subdirectory(exec) endif() if(ENABLE_FIFO) - add_subdirectory( fifo ) + add_subdirectory(fifo) endif() if(ENABLE_IRC) - add_subdirectory( irc ) + add_subdirectory(irc) endif() if(ENABLE_LOGGER) - add_subdirectory( logger ) + add_subdirectory(logger) endif() if(ENABLE_RELAY) - add_subdirectory( relay ) + add_subdirectory(relay) endif() if(ENABLE_SCRIPT) - add_subdirectory( script ) + add_subdirectory(script) endif() if(ENABLE_SCRIPTS AND ENABLE_PERL) find_package(Perl) if(PERL_FOUND) - add_subdirectory( perl ) + add_subdirectory(perl) endif() endif() if(ENABLE_SCRIPTS AND ENABLE_PYTHON) find_package(Python) if(PYTHON_FOUND) - add_subdirectory( python ) + add_subdirectory(python) endif() endif() if(ENABLE_SCRIPTS AND ENABLE_RUBY) find_package(Ruby) if(RUBY_FOUND) - add_subdirectory( ruby ) + add_subdirectory(ruby) endif() endif() if(ENABLE_SCRIPTS AND ENABLE_LUA) find_package(Lua) if(LUA_FOUND) - add_subdirectory( lua ) + add_subdirectory(lua) endif() endif() if(ENABLE_SCRIPTS AND ENABLE_TCL) find_package(TCL) if(TCL_FOUND) - add_subdirectory( tcl ) + add_subdirectory(tcl) endif() endif() if(ENABLE_SCRIPTS AND ENABLE_GUILE) find_package(Guile) if(GUILE_FOUND) - add_subdirectory( guile ) + add_subdirectory(guile) endif() endif() if(ENABLE_TRIGGER) - add_subdirectory( trigger ) + add_subdirectory(trigger) endif() if(ENABLE_XFER) - add_subdirectory( xfer ) + add_subdirectory(xfer) endif() install(FILES weechat-plugin.h DESTINATION ${INCLUDEDIR}) diff --git a/src/plugins/lua/CMakeLists.txt b/src/plugins/lua/CMakeLists.txt index cfbb31d94..adc69390e 100644 --- a/src/plugins/lua/CMakeLists.txt +++ b/src/plugins/lua/CMakeLists.txt @@ -24,7 +24,7 @@ weechat-lua-api.h) set_target_properties(lua PROPERTIES PREFIX "") if(LUA_FOUND) - include_directories(${LUA_INCLUDE_PATH} ) + include_directories(${LUA_INCLUDE_PATH}) if(LUA_LIBRARY AND LUALIB_LIBRARY) target_link_libraries(lua ${LUA_LIBRARY} ${LUALIB_LIBRARY} weechat_plugins_scripts) else() |