Compare commits
No commits in common. '3339e3c6d80feb821cd4cac0bba89fd04fe24d0c' and '444af0b257749bef8404f34691d2d0b388c6794c' have entirely different histories.
3339e3c6d8
...
444af0b257
2 changed files with 2 additions and 52 deletions
@ -1,23 +0,0 @@ |
|||||||
cmake_minimum_required(VERSION 3.10) |
|
||||||
project(eventlog-daemon) |
|
||||||
|
|
||||||
set(eventlog_daemon_src |
|
||||||
src/main.c) |
|
||||||
|
|
||||||
find_library(EVENTLOG_LIB |
|
||||||
NAMES eventlog |
|
||||||
PATHS ${EVENTLOG_PATH} ${CMAKE_LIBRARY_PATH} |
|
||||||
NO_DEFAULT_PATH) |
|
||||||
|
|
||||||
find_path(EVENTLOG_INCLUDE |
|
||||||
NAMES eventlog.h |
|
||||||
PATHS ${EVENTLOG_INCLUDE_PATH} ${CMAKE_INCLUDE_PATH} |
|
||||||
NO_DEFAULT_PATH) |
|
||||||
|
|
||||||
add_executable(eventlog-daemon ${eventlog_daemon_src}) |
|
||||||
|
|
||||||
target_include_directories(eventlog-daemon PUBLIC ${EVENTLOG_INCLUDE} ${EVENTLOG_EXTRA_INCLUDE_PATH}) |
|
||||||
|
|
||||||
target_link_libraries(eventlog-daemon ${EVENTLOG_LIB}) |
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in new issue