Jelajahi Sumber

this is a bit more readable

Robin Mueller 4 tahun lalu
induk
melakukan
1ce331663c
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 1
      cmake/FindFreeRTOS.cmake

+ 5 - 1
cmake/FindFreeRTOS.cmake

@@ -77,7 +77,11 @@ foreach(PORT ${FreeRTOS_FIND_COMPONENTS})
     find_path(FreeRTOS_${PORT}_PATH
         NAMES portmacro.h
         PATHS "${FREERTOS_PATH}" "${FREERTOS_PATH}/FreeRTOS" 
-        PATH_SUFFIXES "portable/GCC/${PORT}/r0p1" "Source/portable/GCC/${PORT}"  "Source/portable/GCC/${PORT}/r0p1"
+        PATH_SUFFIXES
+            "portable/GCC/${PORT}/r0p1"
+            "portable/GCC/${PORT}"
+            "Source/portable/GCC/${PORT}"
+            "Source/portable/GCC/${PORT}/r0p1"
         NO_DEFAULT_PATH
     )