Skip to content

Commit

Permalink
require the cli component of ign-utils for usd component (#908)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashton Larkin <[email protected]>
  • Loading branch information
adlarkin authored Mar 24, 2022
1 parent e5698ad commit ae5c4d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ if (BUILD_SDF)
########################################
# Find ignition utils
ign_find_package(ignition-utils1 VERSION REQUIRED)
ign_find_package(ignition-utils1 COMPONENTS cli REQUIRED_BY usd)
set(IGN_UTILS_VER ${ignition-utils1_VERSION_MAJOR})

########################################
Expand Down
2 changes: 2 additions & 0 deletions usd/src/cmd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ if(TARGET ${usd_target})
target_link_libraries(sdf2usd
PUBLIC
ignition-utils${IGN_UTILS_VER}::ignition-utils${IGN_UTILS_VER}
ignition-utils${IGN_UTILS_VER}::cli
${usd_target}
)

Expand All @@ -16,6 +17,7 @@ if(TARGET ${usd_target})
target_link_libraries(usd2sdf
PUBLIC
ignition-utils${IGN_UTILS_VER}::ignition-utils${IGN_UTILS_VER}
ignition-utils${IGN_UTILS_VER}::cli
${usd_target}
)

Expand Down

0 comments on commit ae5c4d6

Please sign in to comment.