diff --git a/CMakeLists.txt b/CMakeLists.txt index e49be8c..3d573a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/openocd-utilities.cmake b/openocd-utilities.cmake index b19c5ef..5e29ba2 100644 --- a/openocd-utilities.cmake +++ b/openocd-utilities.cmake @@ -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. #