From 25f427ae43913e75c9a162a9321ad060fa08260e Mon Sep 17 00:00:00 2001 From: Liangliang Nan Date: Tue, 17 Dec 2024 11:16:58 +0100 Subject: [PATCH] fixed a warning for MinGW --- 3rd_party/glfw/src/CMakeLists.txt | 2 +- easy3d/util/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rd_party/glfw/src/CMakeLists.txt b/3rd_party/glfw/src/CMakeLists.txt index 2d0f4858..16e8fe86 100644 --- a/3rd_party/glfw/src/CMakeLists.txt +++ b/3rd_party/glfw/src/CMakeLists.txt @@ -253,7 +253,7 @@ endif() # Enable a reasonable set of warnings # NOTE: The order matters here, Clang-CL matches both MSVC and Clang -if (WIN32 OR MSVC) +if (MSVC) target_compile_options(3rd_${module} PRIVATE "/W3") elseif (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang" OR diff --git a/easy3d/util/version.h b/easy3d/util/version.h index 03c9488a..74dcbca0 100644 --- a/easy3d/util/version.h +++ b/easy3d/util/version.h @@ -59,7 +59,7 @@ namespace easy3d { #define EASY3D_VERSION_NR 1020504 /// Easy3D release date, in the format YYYYMMDD. -#define EASY3D_RELEASE_DATE 20241216 +#define EASY3D_RELEASE_DATE 20241217 #endif // EASY3D_UTIL_VERSION_H