[geos-commits] [SCM] GEOS branch master updated. 46fcfd52744779cd67d6a74dc9d69e14f2234ff7

git at osgeo.org git at osgeo.org
Tue Apr 28 13:47:17 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  46fcfd52744779cd67d6a74dc9d69e14f2234ff7 (commit)
      from  66908f9e268661a25cc38bd9d17a4bc566b516e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 46fcfd52744779cd67d6a74dc9d69e14f2234ff7
Author: Pierre Gergondet <pierre.gergondet at gmail.com>
Date:   Wed Apr 8 16:24:47 2020 +0800

    Enforce utf-8 charset when building astyle

diff --git a/tools/astyle/CMakeLists.txt b/tools/astyle/CMakeLists.txt
index a8bb0e2..d4dbafd 100644
--- a/tools/astyle/CMakeLists.txt
+++ b/tools/astyle/CMakeLists.txt
@@ -12,5 +12,8 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 file(GLOB_RECURSE astyle_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
 add_executable(astyle ${astyle_SOURCES})
+if(MSVC)
+  target_compile_options(astyle PRIVATE /source-charset:utf-8)
+endif()
 # message(STATUS "Enable AStyle")
 

-----------------------------------------------------------------------

Summary of changes:
 tools/astyle/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list