You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
550 B
19 lines
550 B
cmake_minimum_required(VERSION 3.10)
|
|
project(fetch-indexes)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|
|
|
find_package(CURL REQUIRED)
|
|
find_package(ZLIB REQUIRED)
|
|
find_package(YAML-CPP REQUIRED)
|
|
find_package(launchpadlib-cpp REQUIRED CONFIG)
|
|
|
|
include_directories(${CURL_INCLUDE_DIRS})
|
|
include_directories(${ZLIB_INCLUDE_DIRS})
|
|
include_directories(${YAML_CPP_INCLUDE_DIR})
|
|
|
|
add_executable(fetch-indexes main.cpp utilities.cpp)
|
|
|
|
target_link_libraries(fetch-indexes ${CURL_LIBRARIES} ${ZLIB_LIBRARIES} yaml-cpp launchpad::launchpad)
|