mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
cmake: set the output directory once
This commit is contained in:
parent
4714262c3d
commit
2e9183e4de
@ -5,7 +5,7 @@ project(sway C)
|
||||
set(CMAKE_C_FLAGS "-g")
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
SET(CMAKE_C_EXTENSIONS OFF)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin/")
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")
|
||||
add_definitions("-Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMake)
|
||||
|
||||
|
@ -7,7 +7,6 @@ find_package(Pango REQUIRED)
|
||||
include(Wayland)
|
||||
WAYLAND_ADD_PROTOCOL_CLIENT(proto-xdg-shell "xdg-shell.xml" xdg-shell)
|
||||
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../bin/")
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../include
|
||||
${WAYLAND_CLIENT_INCLUDE_DIR}
|
||||
|
Loading…
Reference in New Issue
Block a user