Skip to content

Commit ff148f9

Browse files
author
Jan Kamidra
committed
cmake script correction
1 parent 4afb269 commit ff148f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmsis/CMSIS_cmake/cmsis_core.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
# Components used: CMSIS-Core 6.1.1
3030
# Path: CMSIS_6/CMSIS/Core
3131

32-
message(STATUS "CMSIS-Core 6.1.1")
3332

3433
# Submodule presence
35-
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/../CMSIS_6)
34+
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/../CMSIS_6/CMSIS/Core/Include)
3635
message(FATAL_ERROR "CMSIS_6 submodule directory not found!")
3736
endif()
37+
message(STATUS "CMSIS-Core 6.1.1")
3838

3939
# Add CMSIS-Core base include directories
4040
target_include_directories(mbed-core-flags

cmsis/CMSIS_cmake/cmsis_rtos_rtx.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Path: /CMSIS-RTX
2828

2929
# Submodule presence
30-
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/../CMSIS-RTX)
30+
if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/../CMSIS-RTX/Include)
3131
message(FATAL_ERROR "CMSIS-RTX submodule directory not found!")
3232
endif()
3333
message(STATUS "CMSIS-RTX 5.9.0")

0 commit comments

Comments
 (0)