From 764a29e801951bf0091f9605e925f7bbbcc74ef2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 3 May 2017 08:41:53 +0200 Subject: revert msvc utf-8 source file encoding cf. https://github.com/opentrack/opentrack/issues/605#issuecomment-298637288 --- cmake/opentrack-platform.cmake | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmake') diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 05566237..ab3a5f8b 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -49,9 +49,6 @@ if(MSVC) foreach (i SHARED MODULE EXE) set(CMAKE_${i}_LINKER_FLAGS "-DYNAMICBASE -NXCOMPAT ${CMAKE_${i}_LINKER_FLAGS} ") endforeach() - - #C4828: The file contains a character starting at offset 0x2763 that is illegal in the current source character set (codepage 65001). - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -source-charset:UTF-8 -wd4828") endif() if(WIN32) -- cgit v1.2.3