Skip to content

Commit

Permalink
[macOS] Need to treat fmt as system library, as it causes tons of war…
Browse files Browse the repository at this point in the history
…nings.
  • Loading branch information
christofmuc committed Jan 1, 2023
1 parent 1ff6435 commit dc9e541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ if (GETTEXT_AVAILABLE)
endif()

target_include_directories(juce-utils INTERFACE ${CMAKE_CURRENT_LIST_DIR})
get_target_property(fmt_include_dirs fmt::fmt INTERFACE_INCLUDE_DIRECTORIES)
target_include_directories(juce-utils SYSTEM PUBLIC ${fmt_include_dirs})
target_link_libraries(juce-utils PUBLIC ${I18NLib} juce-static fmt::fmt spdlog::spdlog nlohmann_json)

# Pedantic about warnings and precompiled headers
Expand Down

0 comments on commit dc9e541

Please sign in to comment.