Skip to content

Commit

Permalink
CMake: Don't print status messages for deps CMakeLists
Browse files Browse the repository at this point in the history
fmt is noisy.
  • Loading branch information
stenzek committed Feb 2, 2025
1 parent 455836a commit 51bef1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dep/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
set(_saved_CMAKE_MESSAGE_LOG_LEVEL ${CMAKE_MESSAGE_LOG_LEVEL})
set(CMAKE_MESSAGE_LOG_LEVEL NOTICE)

set(FMT_INSTALL OFF CACHE BOOL "")
add_subdirectory(fmt EXCLUDE_FROM_ALL)
disable_compiler_warnings_for_target(fmt)
Expand Down Expand Up @@ -55,3 +58,4 @@ if(WIN32)
add_subdirectory(winpixeventruntime EXCLUDE_FROM_ALL)
endif()

set(CMAKE_MESSAGE_LOG_LEVEL ${_saved_CMAKE_MESSAGE_LOG_LEVEL})

0 comments on commit 51bef1b

Please sign in to comment.