Skip to content

Commit

Permalink
Add fmtlib (>=8.0.0) in appropriate CMake files
Browse files Browse the repository at this point in the history
  • Loading branch information
psyomn committed Dec 25, 2023
1 parent cd794b7 commit a2ebd10
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/PTE_ThirdParty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ include ( third_party/nlohmann_json )
include ( third_party/pugixml )
include ( third_party/Qt )
include ( third_party/rtmidi )
include ( third_party/fmt )
1 change: 1 addition & 0 deletions cmake/third_party/fmt.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
find_package ( fmt 8.0.0 REQUIRED )
2 changes: 1 addition & 1 deletion source/util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ pte_library(
HEADERS ${headers}
DEPENDS
PUBLIC Boost::headers
PRIVATE nlohmann_json::nlohmann_json ${platform_depends}
PRIVATE nlohmann_json::nlohmann_json fmt::fmt ${platform_depends}
)
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ pte_executable(
doctest::doctest
pteapp
rtmidi::rtmidi
fmt::fmt
)

# Workaround for https://github.com/onqtam/doctest/issues/316
Expand Down

0 comments on commit a2ebd10

Please sign in to comment.