From fdce041cc8cf41abaaf85c54001dfa95d6c4ee02 Mon Sep 17 00:00:00 2001 From: Franziska Wegner <57569315+franziska-wegner@users.noreply.github.com> Date: Sat, 6 Jan 2024 08:26:57 -0800 Subject: [PATCH] Ignore MSVC warning C4068: unknown pragma 'mark' (#100) This windows specific warning with regards to pragma marks. --- cmake/CompilerConfiguration.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CompilerConfiguration.cmake b/cmake/CompilerConfiguration.cmake index 915a3e8e..a9f0dceb 100644 --- a/cmake/CompilerConfiguration.cmake +++ b/cmake/CompilerConfiguration.cmake @@ -46,7 +46,7 @@ set(PEDANTIC_FLAGS "-pedantic") # Microsoft Visual Studio ########################################## #################################################################### if(MSVC) - add_definitions(/MP /DNOMINMAX) + add_definitions(/MP /DNOMINMAX /wd4068) # /wd4068 disable "unknown pragma 'mark'" warnings if(CMAKE_BUILD_TYPE MATCHES "Debug") # D:\a\egoa\egoa\tests\DataStructures\Graphs\TestGraph.cpp : fatal # error C1128: number of sections exceeded object file format limit: