diff --git a/.gitmodules b/.gitmodules index 2f677e0cc..a459312cb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 44bf8d228..29cf97159 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index 7e199d2b5..a35b2d4d3 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -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() diff --git a/thirdparty/fmt b/thirdparty/fmt new file mode 160000 index 000000000..e69e5f977 --- /dev/null +++ b/thirdparty/fmt @@ -0,0 +1 @@ +Subproject commit e69e5f977d458f2650bb346dadf2ad30c5320281