소스 검색

Wayland: Fix indentation

Camilla Löwy 5 년 전
부모
커밋
420b165bff
1개의 변경된 파일12개의 추가작업 그리고 12개의 파일을 삭제
  1. 12 12
      src/CMakeLists.txt

+ 12 - 12
src/CMakeLists.txt

@@ -50,18 +50,18 @@ if (_GLFW_WAYLAND)
     pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir)
 
     macro(wayland_generate protocol_file output_file)
-          add_custom_command(OUTPUT "${output_file}.h"
-              COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" client-header "${protocol_file}" "${output_file}.h"
-              DEPENDS "${protocol_file}"
-              VERBATIM)
-          list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.h)"
-
-          add_custom_command(OUTPUT "${output_file}.c"
-              COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" private-code "${protocol_file}" "${output_file}.c"
-              DEPENDS "${protocol_file}"
-              VERBATIM)
-
-          list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.c")
+        add_custom_command(OUTPUT "${output_file}.h"
+            COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" client-header "${protocol_file}" "${output_file}.h"
+            DEPENDS "${protocol_file}"
+            VERBATIM)
+        list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.h)"
+
+        add_custom_command(OUTPUT "${output_file}.c"
+            COMMAND "${WAYLAND_SCANNER_EXECUTABLE}" private-code "${protocol_file}" "${output_file}.c"
+            DEPENDS "${protocol_file}"
+            VERBATIM)
+
+        list(APPEND GLFW_WAYLAND_PROTOCOL_SOURCES "${output_file}.c")
     endmacro()
 
     set(GLFW_WAYLAND_PROTOCOL_SOURCES)