Skip to content

Commit

Permalink
Find GzURDFDOM, fix warning (#1074)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Jul 11, 2022
1 parent 17544db commit 51e19d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ if (BUILD_SDF)
# 2. if USE_INTERNAL_URDF is set to True, use the internal copy
# 3. if USE_INTERNAL_URDF is set to False, force to search system installation, fail on error
if (NOT DEFINED USE_INTERNAL_URDF OR NOT USE_INTERNAL_URDF)
gz_find_package(IgnURDFDOM VERSION 1.0 QUIET)
if (NOT IgnURDFDOM_FOUND)
gz_find_package(GzURDFDOM VERSION 1.0 QUIET)
if (NOT GzURDFDOM_FOUND)
if (NOT DEFINED USE_INTERNAL_URDF)
# fallback to internal urdf
set(USE_INTERNAL_URDF ON)
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if (USE_INTERNAL_URDF)
endif()
else()
target_link_libraries(using_parser_urdf INTERFACE
IgnURDFDOM::IgnURDFDOM)
GzURDFDOM::GzURDFDOM)
endif()

if (BUILD_TESTING)
Expand Down

0 comments on commit 51e19d7

Please sign in to comment.