diff --git a/CMakeLists.txt b/CMakeLists.txt index ae15e8b..bf3f61d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,7 @@ if(WERROR) # This flag seems to be needed for temp variables generated by the compiler version in jammy set_source_files_properties(src/shr_assert_mod.F90 PROPERTIES COMPILE_OPTIONS "-Wno-error=maybe-uninitialized") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wno-error=cpp") + set_source_files_properties(src/shr_cal_mod.F90 PROPERTIES COMPILE_OPTIONS "-Wno-error=conversion") endif() add_dependencies (share genf90)