Skip to content

Commit

Permalink
Set consistent pointer style in .clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Brodsky committed Jun 5, 2021
1 parent 32b6e07 commit c81751d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .clang-format
@@ -1,2 +1,5 @@
BasedOnStyle: Google
IndentWidth: 4

DerivePointerAlignment: false
PointerAlignment: Right
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -17,6 +17,8 @@ cmake_minimum_required(VERSION 3.1)
set(H3_PREFIX "" CACHE STRING "Prefix for exported symbols")
set(H3_ALLOC_PREFIX "" CACHE STRING "Prefix for allocation functions")

# Do not try to append extensions to source files
cmake_policy(SET CMP0115 NEW)
# Needed due to CMP0042
set(CMAKE_MACOSX_RPATH 1)
# YCM needs compilation database
Expand Down

0 comments on commit c81751d

Please sign in to comment.