Browse Source

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 năm trước cách đây
mục cha
commit
8f1d770e51
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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)