Add idlc to packaging and examples
Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
parent
d12b926ff1
commit
bd858ea97f
4 changed files with 6 additions and 4 deletions
|
@ -14,7 +14,7 @@ cmake_minimum_required(VERSION 3.5)
|
|||
if (NOT TARGET CycloneDDS::ddsc)
|
||||
# Find the CycloneDDS package. If it is not in a default location, try
|
||||
# finding it relative to the example where it most likely resides.
|
||||
find_package(CycloneDDS REQUIRED PATHS "${CMAKE_CURRENT_SOURCE_DIR}/../../")
|
||||
find_package(CycloneDDS REQUIRED COMPONENTS idlc PATHS "${CMAKE_CURRENT_SOURCE_DIR}/../../")
|
||||
endif()
|
||||
|
||||
# This is a convenience function, provided by the CycloneDDS package,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue