mirror of
https://github.com/rzajac/esp-drv.git
synced 2025-06-07 14:20:15 +03:00
Add missing libraries to link with drivers.
This commit is contained in:
parent
931aee878b
commit
379b6d1b6f
@ -27,6 +27,6 @@ target_include_directories(esp_dht22 PUBLIC
|
||||
${esp_gpio_INCLUDE_DIRS}
|
||||
${ESP_USER_CONFIG_DIR})
|
||||
|
||||
esp_gen_lib(esp_dht22
|
||||
${ESP_CMAKE_FIND_DIR}
|
||||
${esp_gpio_LIBRARIES})
|
||||
target_link_libraries(esp_dht22 ${esp_gpio_LIBRARIES})
|
||||
|
||||
esp_gen_lib(esp_dht22)
|
||||
|
@ -31,8 +31,9 @@ target_include_directories(esp_ds18b20 PUBLIC
|
||||
${esp_tim_INCLUDE_DIRS}
|
||||
${ESP_USER_CONFIG_DIR})
|
||||
|
||||
esp_gen_lib(esp_ds18b20
|
||||
${ESP_CMAKE_FIND_DIR}
|
||||
target_link_libraries(esp_ds18b20
|
||||
${esp_ow_LIBRARIES}
|
||||
${esp_eb_LIBRARIES}
|
||||
${esp_tim_LIBRARIES})
|
||||
|
||||
esp_gen_lib(esp_ds18b20)
|
||||
|
@ -27,6 +27,6 @@ target_include_directories(esp_sht21 PUBLIC
|
||||
${esp_i2c_INCLUDE_DIRS}
|
||||
${ESP_USER_CONFIG_DIR})
|
||||
|
||||
esp_gen_lib(esp_sht21
|
||||
${ESP_CMAKE_FIND_DIR}
|
||||
${esp_i2c_LIBRARIES})
|
||||
target_link_libraries(esp_sht21 ${esp_i2c_LIBRARIES})
|
||||
|
||||
esp_gen_lib(esp_sht21)
|
||||
|
Loading…
x
Reference in New Issue
Block a user