blob: c9bf97344a735f5e8c22fdae3ba5cfd0daf49bc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
cmake_minimum_required(VERSION 3.0.2)
project(sibs)
set(CMAKE_CXX_STANDARD 11)
set(SOURCE_FILES
external/xxhash.c
backend/ninja/Ninja.cpp
src/main.cpp
src/FileUtil.cpp
src/Conf.cpp
src/PkgConfig.cpp
src/Exec.cpp
src/GlobalLib.cpp
src/curl.cpp
src/Archive.cpp)
find_package(CURL REQUIRED)
find_package(LibArchive REQUIRED)
add_executable(sibs ${SOURCE_FILES})
include_directories(${CURL_INCLUDE_DIR} ${LibArchive_INCLUDE_DIR})
target_link_libraries(sibs ${CURL_LIBRARIES} ${LibArchive_LIBRARIES})
|