11 lines
319 B
CMake
11 lines
319 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
project(journey)
|
|
|
|
find_package(PkgConfig)
|
|
pkg_check_modules(LIBSYSTEMD REQUIRED libsystemd)
|
|
pkg_check_modules(RE2 REQUIRED re2)
|
|
|
|
add_executable(journey main.cpp)
|
|
target_link_libraries(journey ${LIBSYSTEMD_LIBRARIES} ${RE2_LIBRARIES})
|
|
install(TARGETS journey RUNTIME DESTINATION bin)
|