From 922e2cc1510d367cbd1dc4cf42caa587b1e837b9 Mon Sep 17 00:00:00 2001 From: gxalpha Date: Thu, 12 Sep 2024 13:53:06 +0200 Subject: [PATCH] cmake: Remove remaining cmake-format comments cmake-format was replaced with gersemi in 19d3e30a3a1a4eeecbe41bed8768e15c71e9d4ce. As such, these comments no longer have any effect. --- cmake/finders/FindFFmpeg.cmake | 5 ----- plugins/obs-nvenc/CMakeLists.txt | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/cmake/finders/FindFFmpeg.cmake b/cmake/finders/FindFFmpeg.cmake index 475217748..c91dba0e4 100644 --- a/cmake/finders/FindFFmpeg.cmake +++ b/cmake/finders/FindFFmpeg.cmake @@ -93,11 +93,6 @@ The following cache variables may also be set: #]=======================================================================] -# cmake-format: off -# cmake-lint: disable=C0103 -# cmake-lint: disable=C0307 -# cmake-format: on - include(FindPackageHandleStandardArgs) set( diff --git a/plugins/obs-nvenc/CMakeLists.txt b/plugins/obs-nvenc/CMakeLists.txt index be73ee0ac..0b4fe2b61 100644 --- a/plugins/obs-nvenc/CMakeLists.txt +++ b/plugins/obs-nvenc/CMakeLists.txt @@ -27,7 +27,7 @@ add_subdirectory(obs-nvenc-test) target_sources( obs-nvenc - PRIVATE # cmake-format: sortable + PRIVATE $<$:nvenc-opengl.c> $<$:nvenc-d3d11.c> cuda-helpers.c @@ -56,6 +56,4 @@ if(OS_WINDOWS) target_sources(obs-nvenc PRIVATE obs-nvenc.rc) endif() -# cmake-format: off set_target_properties_obs(obs-nvenc PROPERTIES FOLDER plugins/obs-nvenc PREFIX "") -# cmake-format: on