Skip to content

Commit

Permalink
Revise CMake formatting (#30)
Browse files Browse the repository at this point in the history
Resolves #29 (Revise CMake formatting).
  • Loading branch information
apcountryman authored Apr 4, 2024
1 parent b59bbfa commit 2857102
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# Description: Core CMake rules.

cmake_minimum_required( VERSION 3.16.3 )
project(
toolchain-arm-none-eabi-gcc
project( toolchain-arm-none-eabi-gcc
LANGUAGES C CXX
)

Expand Down
4 changes: 2 additions & 2 deletions openocd-utilities.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

find_program( CMAKE_OPENOCD openocd )
mark_as_advanced( CMAKE_OPENOCD )
if ( CMAKE_OPENOCD STREQUAL "CMAKE_OPENOCD-NOTFOUND" )
if( CMAKE_OPENOCD STREQUAL "CMAKE_OPENOCD-NOTFOUND" )
message( FATAL_ERROR "openocd not found" )
endif ( CMAKE_OPENOCD STREQUAL "CMAKE_OPENOCD-NOTFOUND" )
endif( CMAKE_OPENOCD STREQUAL "CMAKE_OPENOCD-NOTFOUND" )

# Add OpenOCD target.
#
Expand Down

0 comments on commit 2857102

Please sign in to comment.