Skip to content

Fix(build): Resolve compilation errors on Visual Studio 2022#34

Open
RightRIO wants to merge 1 commit intogcherchi:mainfrom
RightRIO:cmakelist-change
Open

Fix(build): Resolve compilation errors on Visual Studio 2022#34
RightRIO wants to merge 1 commit intogcherchi:mainfrom
RightRIO:cmakelist-change

Conversation

@RightRIO
Copy link

更新 CMakeLists.txt 以解决在 VS2022 环境下的构建失败问题。

主要改动包括:

  • 使用 add_subdirectory 正确集成 Abseil 库。
  • 添加 NOMINMAX 宏定义以防止与 Windows SDK 的宏冲突。
  • 重构了目标配置,以确保所有可执行文件都应用了相同的编译和链接选项。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant