diff options
| author | Drew DeVault <sir@cmpwn.com> | 2015-11-12 19:04:01 -0500 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2015-11-12 19:04:01 -0500 |
| commit | bfcabe48ef3fc7a0388de007504fc232f826fb84 (patch) | |
| tree | 8bef61a10259765dbafed49c9a2a76b4bf9ced2d /CMakeLists.txt | |
| parent | 5c4e98aa4ec9d7b8d0423d33734f7899fb548122 (diff) | |
Start fleshing out wayland client implementation
This introduces a basic shared framework for making wayland clients
within sway itself.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d446c2b3..b75e8737 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ set(CMAKE_C_FLAGS "-g") set(CMAKE_C_STANDARD 99) SET(CMAKE_C_EXTENSIONS OFF) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/") -add_definitions("-Wall -Wextra -Wno-unused-parameter") +add_definitions("-Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMake) add_subdirectory(swaybg swaybg) @@ -44,6 +44,7 @@ find_package(PCRE REQUIRED) find_package(JsonC REQUIRED) FILE(GLOB sources ${PROJECT_SOURCE_DIR}/sway/*.c) +FILE(GLOB common ${PROJECT_SOURCE_DIR}/common/*.c) include_directories( ${WLC_INCLUDE_DIRS} @@ -55,6 +56,7 @@ include_directories( add_executable(sway ${sources} + ${common} ) target_link_libraries(sway |
