diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-07-11 00:20:31 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-07-11 00:28:56 +1200 |
commit | 924bf0f669cde20b414cd9f12e72750ca5fdbbaf (patch) | |
tree | eedb833983f05b26f09236c7a9bd74d908d3a354 /session | |
parent | 8189c64d7f07a756abf5a6189719f02b2f1af967 (diff) |
Changed build system to meson
Diffstat (limited to 'session')
-rw-r--r-- | session/CMakeLists.txt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/session/CMakeLists.txt b/session/CMakeLists.txt deleted file mode 100644 index bacd412f..00000000 --- a/session/CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -include_directories( - ${WAYLAND_INCLUDE_DIR} - ${DRM_INCLUDE_DIRS} -) - -set(sources - session.c - direct.c - direct-ipc.c -) - -set(libs - wlr-util - ${WAYLAND_LIBRARIES} -) - -if (SYSTEMD_FOUND) - add_definitions(${SYSTEMD_DEFINITIONS}) - include_directories(${SYSTEMD_INCLUDE_DIRS}) - - add_definitions(-DHAS_SYSTEMD) - list(APPEND sources logind.c) - list(APPEND libs ${SYSTEMD_LIBRARIES}) -endif () - -if (Libcap_FOUND) - add_definitions(${Libcap_DEFINITIONS}) - include_directories(${Libcap_INCLUDE_DIRS}) - - add_definitions(-DHAS_LIBCAP) - list(APPEND libs ${Libcap_LIBRARIES}) -endif () - -add_library(wlr-session ${sources}) -target_link_libraries(wlr-session ${libs}) |