ソースを参照

Merge pull request #110 from alxhoff/fix_std

Fixed finding of passed components
Konstantin Oblaukhov 5 年 前
コミット
dae759ed81
1 ファイル変更2 行追加2 行削除
  1. 2 2
      cmake/FindSTM32STD.cmake

+ 2 - 2
cmake/FindSTM32STD.cmake

@@ -20,8 +20,8 @@ SET(STD_SRCS
     misc.c
     )
 
-IF(NOT STM32STDPERIPH_FIND_COMPONENTS)
-    SET(STM32STDPERIPH_FIND_COMPONENTS ${STD_COMPONENTS})
+IF(NOT STM32STD_FIND_COMPONENTS)
+        SET(STM32STD_FIND_COMPONENTS ${STD_COMPONENTS})
     MESSAGE(STATUS "No STM32STD components selected, using all: ${STM32STD_FIND_COMPONENTS}")
 ENDIF()