diff --git a/src/gpu/GridGenerator/CMakeLists.txt b/src/gpu/GridGenerator/CMakeLists.txt index 8f65576fc55767f4eea1c30a6241f03fe031bbc5..07b6125d6ecd83dca59e20e7c286ebc2b8d14715 100644 --- a/src/gpu/GridGenerator/CMakeLists.txt +++ b/src/gpu/GridGenerator/CMakeLists.txt @@ -1,3 +1,7 @@ project(GridGenerator LANGUAGES CXX) vf_add_library(PRIVATE_LINK basics OpenMP::OpenMP_CXX) + +if(NOT MSVC) + target_compile_options(GridGenerator PRIVATE "-Wno-strict-aliasing") +endif() \ No newline at end of file