mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Fix whitespaces in cmake config
This commit is contained in:
parent
9186455a3c
commit
18f8185011
1 changed files with 35 additions and 35 deletions
|
@ -9,14 +9,14 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
||||
add_definitions(
|
||||
-D_GNU_SOURCE
|
||||
)
|
||||
)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter")
|
||||
|
||||
list(INSERT CMAKE_MODULE_PATH 0
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMake
|
||||
)
|
||||
)
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
|
||||
execute_process(
|
||||
COMMAND git describe --always
|
||||
|
@ -117,12 +117,12 @@ install(
|
|||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
|
||||
DESTINATION share/wayland-sessions
|
||||
COMPONENT data
|
||||
)
|
||||
)
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/wallpaper.jpg
|
||||
DESTINATION share/sway
|
||||
COMPONENT data
|
||||
)
|
||||
)
|
||||
|
||||
feature_summary(WHAT ALL)
|
||||
|
|
Loading…
Reference in a new issue