Fix whitespaces in cmake config

This commit is contained in:
Mikkel Oscar Lyderik 2016-01-05 23:53:37 +01:00
parent 9186455a3c
commit 18f8185011

View file

@ -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)