blob: ac0859d3fce4b10ed909137e05210bbfdd86e742 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
cmake_minimum_required(VERSION 3.11.0)
project(deduper C CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(FindPkgConfig)
pkg_search_module(gdlib REQUIRED gdlib)
find_package(Threads REQUIRED)
add_subdirectory(libpuzzle/src)
add_executable(deduper deduper.cpp thread_pool.h)
target_link_directories(deduper
PRIVATE
${gdlib_LIBRARY_DIRS}
)
target_link_libraries(deduper
puzzle
${gdlib_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
|