diff --git a/cmake/CompilerOptions.cmake b/cmake/CompilerOptions.cmake index e5447d88e7d0009f8ec697bb1463e3a7b737b0d8..167ae04818f6c2eb791704de08d7bd99adb449fb 100644 --- a/cmake/CompilerOptions.cmake +++ b/cmake/CompilerOptions.cmake @@ -12,3 +12,11 @@ if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") set(CXXOPT_WALL "${CXXOPT_WALL} -Wno-missing-braces") endif() + +if(${CMAKE_CXX_COMPILER_ID} MATCHES "Intel") + # Disable warning for unused template parameter + # this is raised by a templated function in the json library + + set(CXXOPT_WALL "${CXXOPT_WALL} -wd488") +endif() +