Skip to content

Commit

Permalink
Add fmt library
Browse files Browse the repository at this point in the history
  • Loading branch information
fintarin committed Feb 19, 2024
1 parent 999f72d commit 8b50283
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[submodule "thirdparty/boost-mp11"]
path = thirdparty/boost-mp11
url = https://github.com/boostorg/mp11
[submodule "thirdparty/fmt"]
path = thirdparty/fmt
url = https://github.com/fmtlib/fmt
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ target_link_libraries(
PUBLIC MPFR
Boost::multiprecision
Boost::math
Boost::container_hash)
Boost::container_hash
fmt::fmt)

include(cmake/CompilerWarnings.cmake)
include(cmake/Coverage.cmake)
Expand Down
3 changes: 3 additions & 0 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ mark_include_directories_as_system(boost_multiprecision)
add_subdirectory(boost-math)
mark_include_directories_as_system(boost_math)

add_subdirectory(fmt)
mark_include_directories_as_system(fmt)

if(${PROJECT_NAME}_build_tests)
add_subdirectory(googletest)
endif()
1 change: 1 addition & 0 deletions thirdparty/fmt
Submodule fmt added at e69e5f

0 comments on commit 8b50283

Please sign in to comment.