Meta: Properly depend on cURL.

This commit is contained in:
Timothée Leclaire-Fournier 2024-03-11 14:04:49 -04:00
parent 8f3978692c
commit 73e44801c0

View File

@ -12,6 +12,7 @@ set(CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fsanitize=address,und
find_package(Qt6 COMPONENTS Core Gui Widgets REQUIRED) find_package(Qt6 COMPONENTS Core Gui Widgets REQUIRED)
find_package(Qt6Keychain CONFIG REQUIRED) find_package(Qt6Keychain CONFIG REQUIRED)
find_package(CURL REQUIRED)
add_executable(emailQt main.cpp add_executable(emailQt main.cpp
EmailClient.hpp EmailClient.hpp
@ -30,5 +31,5 @@ add_executable(emailQt main.cpp
target_link_libraries(emailQt PRIVATE Qt6::Core target_link_libraries(emailQt PRIVATE Qt6::Core
Qt6::Gui Qt6::Gui
Qt6::Widgets Qt6::Widgets
curl CURL::libcurl
Qt6Keychain::Qt6Keychain) Qt6Keychain::Qt6Keychain)