소스 검색

Fixed finding of passed components

Alex Hoffman 6 년 전
부모
커밋
ba5b917cc5
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()