瀏覽代碼

cmake: Reformat commented out lines to cmake format check

This is a trivial reformatting of the set_target_properties line that is
used when Qt is included in the plugin. Without reformatting the line,
the cmake format check will fail in CI when Qt support is uncommented in
CMakeLists.txt.
Grant Likely 2 年之前
父節點
當前提交
8f1d770e51
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      CMakeLists.txt

+ 5 - 1
CMakeLists.txt

@@ -34,7 +34,11 @@ target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE OBS::obs-frontend-api)
 #[[
 find_qt(COMPONENTS Widgets Core)
 target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE Qt::Core Qt::Widgets)
-set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES AUTOMOC ON AUTOUIC ON AUTORCC ON)
+set_target_properties(
+  ${CMAKE_PROJECT_NAME}
+  PROPERTIES AUTOMOC ON
+             AUTOUIC ON
+             AUTORCC ON)
 #]]
 
 configure_file(src/plugin-macros.h.in ${CMAKE_SOURCE_DIR}/src/plugin-macros.generated.h)