Skip to content

Commit

Permalink
cmake: add missing dependency to package config
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielius1922 authored and Daniel Adam committed Oct 7, 2022
1 parent 32eff10 commit 000447a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions iotivity-liteConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
@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.
Expand All @@ -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)

0 comments on commit 000447a

Please sign in to comment.