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

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