Эх сурвалжийг харах

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 жил өмнө
parent
commit
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)