소스 검색

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()