Explorar el Código

Merge pull request #110 from alxhoff/fix_std

Fixed finding of passed components
Konstantin Oblaukhov hace 5 años
padre
commit
dae759ed81
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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()