Procházet zdrojové kódy

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 před 2 roky
rodič
revize
8f1d770e51
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  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)