Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TinyCBOR dependency to package configuration file #377

Merged
merged 1 commit into from
Feb 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add TinyCBOR dependency to package configuration file
  • Loading branch information
Danielius1922 committed Feb 10, 2023
commit 75fa8a9dd88bb181834b39c8b897c4d16d72b1ac
9 changes: 1 addition & 8 deletions iotivity-liteConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
@PACKAGE_INIT@

# 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.
# Example:
#
# include(CMakeFindDependencyMacro)
# find_dependency(Boost 1.55 REQUIRED COMPONENTS regex)
# find_dependency(RapidJSON 1.0 REQUIRED MODULE)
include(CMakeFindDependencyMacro)
find_dependency(Threads 1.0 REQUIRED MODULE)
find_dependency(MbedTLS 3.1 REQUIRED)
find_dependency(TinyCBOR 0.6 REQUIRED)

# import our export targets to user of our library
include("${CMAKE_CURRENT_LIST_DIR}/iotivity-liteTargets.cmake")
Expand Down