comparison CMakeLists.txt @ 346:e65b89bcc528

cmake: curl -> libcurl
author Paper <paper@paper.us.eu.org>
date Thu, 20 Jun 2024 07:40:47 -0400
parents d085c05247bd
children c844f8bb87ce
comparison
equal deleted inserted replaced
345:d085c05247bd 346:e65b89bcc528
31 31
32 find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets LinguistTools) 32 find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets LinguistTools)
33 33
34 # find_package(CURL) fails sometimes 34 # find_package(CURL) fails sometimes
35 find_package(PkgConfig REQUIRED) 35 find_package(PkgConfig REQUIRED)
36 pkg_check_modules(CURL REQUIRED curl) 36 pkg_check_modules(CURL REQUIRED libcurl)
37 37
38 set(LIBRARIES 38 set(LIBRARIES
39 ${CURL_LIBRARIES} 39 ${CURL_LIBRARIES}
40 ${Qt${QT_VERSION_MAJOR}Widgets_LIBRARIES} 40 ${Qt${QT_VERSION_MAJOR}Widgets_LIBRARIES}
41 anitomy 41 anitomy