Add missing libraries to link with drivers.

This commit is contained in:
Rafal Zajac
2017-11-13 16:39:10 +01:00
parent 931aee878b
commit 379b6d1b6f
3 changed files with 9 additions and 8 deletions

View File

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