Skip to content

Commit

Permalink
fixed a warning for MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Dec 17, 2024
1 parent 2983cbd commit 25f427a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rd_party/glfw/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion easy3d/util/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 25f427a

Please sign in to comment.