Specify minimum versions of dependencies where known.

This commit is contained in:
tastytea 2021-05-23 09:30:33 +02:00
parent f7bfc6a513
commit a86baf750f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -21,11 +21,12 @@ set(CMAKE_CXX_EXTENSIONS OFF)
include(cmake/debug_flags.cmake)
# All dependencies except test dependencies.
find_package(Boost 1.65.0 REQUIRED COMPONENTS program_options locale)
find_package(Gettext REQUIRED)
find_package(Filesystem REQUIRED COMPONENTS Final Experimental)
find_package(LibArchive REQUIRED)
find_package(fmt REQUIRED CONFIG)
find_package(LibArchive 3.2 REQUIRED)
find_package(fmt 4 REQUIRED CONFIG)
add_subdirectory(src)