cmake: add missing dependency to package config
@PACKAGE_INIT@
-# import our export targets to user of our library
-include("${CMAKE_CURRENT_LIST_DIR}/iotivity-liteTargets.cmake")
-
# If the CMakeLists.txt puts target dependencies to the public build INTERFACE
# (i.e. by using target_link_libraries(mytarget PUBLIC|INTERFACE Boost))
# we need to find this dependent target libraries too.
@@ -13,5 +10,9 @@ include("${CMAKE_CURRENT_LIST_DIR}/iotivity-liteTargets.cmake")
# find_dependency(RapidJSON 1.0 REQUIRED MODULE)
include(CMakeFindDependencyMacro)
find_dependency(Threads 1.0 REQUIRED MODULE)
+find_dependency(MbedTLS 3.1 REQUIRED)
+
+# import our export targets to user of our library
+include("${CMAKE_CURRENT_LIST_DIR}/iotivity-liteTargets.cmake")
check_required_components(iotivity-lite)
