Merge pull request #97 from alkersan/fix_find_package_arguments_order

Fix find_package arguments order.
This commit is contained in:
maxnet
2020-09-17 19:42:04 +02:00
committed by GitHub

View File

@@ -220,8 +220,8 @@ elseif(APPLE)
COMMAND "${MACDEPLOYQT}" "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.app" -qmldir="${CMAKE_CURRENT_SOURCE_DIR}")
else()
find_package(CURL REQUIRED 7.32.0)
find_package(LibArchive REQUIRED 3.2.0)
find_package(CURL 7.32.0 REQUIRED)
find_package(LibArchive 3.2.0 REQUIRED)
find_package(OpenSSL REQUIRED)
if (NOT CMAKE_CROSSCOMPILING)
find_program(LSBLK "lsblk")