From 86cfb3821150d24cd60e5501720779696379643a Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 9 Feb 2021 13:01:13 +0000 Subject: MSVC warnings --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 70f25184a..f1204b8bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,6 +87,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # File failed to follow NHS guidelines on handwashing and has not maintained good hygiene set_source_files_properties("${PROJECT_SOURCE_DIR}/src/IniFile.cpp" PROPERTIES COMPILE_OPTIONS -Wno-header-hygiene) +elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + set_source_files_properties("${PROJECT_SOURCE_DIR}/src/Bindings/Bindings.cpp" PROPERTIES COMPILE_OPTIONS -w) endif() if(${BUILD_TOOLS}) -- cgit v1.2.3