[osmium-tool] 34/97: Fix indentation/spacing.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Jul 21 20:15:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to tag v1.0.0
in repository osmium-tool.
commit 5efff767c297954b6f7a13eb286f4bbab1806628
Author: Jochen Topf <jochen at topf.org>
Date: Wed Aug 27 09:21:50 2014 +0200
Fix indentation/spacing.
---
CMakeLists.txt | 35 +++++++++++++++++------------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03680a7..2213d7f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -215,29 +215,28 @@ include_directories(${PROJECT_BINARY_DIR}/src)
#----------------------------------------------------------------------
add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64)
-if (MSVC)
+if(MSVC)
add_definitions(-wd4996 -DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS)
list(APPEND LIBRARIES ws2_32)
else()
- add_compile_options(-std=c++11)
- add_compile_options(
- -Wall
- -Wextra
- -pedantic
- -Wredundant-decls
- -Wdisabled-optimization
- -Wctor-dtor-privacy
- -Wnon-virtual-dtor
- -Woverloaded-virtual
- -Wsign-promo
- -Wold-style-cast
- )
- #always compile with optimization, even in debug mode
- set(CMAKE_CXX_FLAGS_DEBUG -O3)
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g")
+ add_compile_options(-std=c++11)
+ add_compile_options(
+ -Wall
+ -Wextra
+ -pedantic
+ -Wredundant-decls
+ -Wdisabled-optimization
+ -Wctor-dtor-privacy
+ -Wnon-virtual-dtor
+ -Woverloaded-virtual
+ -Wsign-promo
+ -Wold-style-cast
+ )
+ #always compile with optimization, even in debug mode
+ set(CMAKE_CXX_FLAGS_DEBUG -O3)
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g")
endif()
-
if(APPLE)
add_compile_options(-stdlib=libc++)
set(LDFLAGS ${LDFLAGS} -stdlib=libc++)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git
More information about the Pkg-grass-devel
mailing list