Fixed finding of passed components
@@ -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()