Skip to content

Commit 89b85b8

Browse files
Fix lint
1 parent 372449e commit 89b85b8

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ project(beman.scope DESCRIPTION "Generic Scope Guard" LANGUAGES CXX)
88
option(CXX_STANDARD "C++ standard to use (minimum C++20)" 20)
99

1010
# Ensure the specified standard is at least C++20
11-
if (CXX_STANDARD LESS 20)
11+
if(CXX_STANDARD LESS 20)
1212
message(FATAL_ERROR "The minimum required C++ standard is C++20")
1313
endif()
1414

examples/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ foreach(example ${ALL_EXAMPLES})
88
add_executable(beman.scope.examples.${example})
99
target_sources(beman.scope.examples.${example} PRIVATE ${example}.cpp)
1010
target_link_libraries(beman.scope.examples.${example} beman::scope)
11-
endforeach()
12-
11+
endforeach()

tests/beman/scope/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
22

3-
43
add_executable(beman.scope.tests.scope)
54
target_sources(beman.scope.tests.scope PRIVATE scope.test.cpp)
65

76
target_link_libraries(beman.scope.tests.scope PRIVATE beman::scope)
87

9-
add_test(NAME beman.scope.tests.scope COMMAND beman.scope.tests.scope)
10-
8+
add_test(NAME beman.scope.tests.scope COMMAND beman.scope.tests.scope)

0 commit comments

Comments
 (0)