Skip to content

Commit

Permalink
Fix: remove or suppress compiler warnings (#2)
Browse files Browse the repository at this point in the history
* Fix: remove or suppress compiler warnings

* build: use fmt instead of spdlog bundled fmt library
  • Loading branch information
chirag-droid authored Jan 18, 2024
1 parent 367c48e commit 9a7d851
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@
[submodule "vendor/glslang"]
path = vendor/glslang
url = https://github.com/KhronosGroup/glslang
[submodule "vendor/fmt"]
path = vendor/fmt
url = https://github.com/fmtlib/fmt
5 changes: 5 additions & 0 deletions vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,13 @@ set_property(TARGET glfw PROPERTY FOLDER "Vendor")
# glm
add_subdirectory(glm)

# fmt
add_subdirectory(fmt)

# spdlog
add_subdirectory(spdlog)
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" ON)
option(SPDLOG_FMT_EXTERNAL_HO "Use external fmt header-only library instead of bundled" ON)
set_property(TARGET spdlog PROPERTY FOLDER "Vendor")

if (WALNUT_BUILD_EXAMPLES)
Expand Down
1 change: 1 addition & 0 deletions vendor/fmt
Submodule fmt added at 1fd093

0 comments on commit 9a7d851

Please sign in to comment.