Skip to content

Commit

Permalink
config.cmake: don't need to modify CMAKE_MODULE_PATH
Browse files Browse the repository at this point in the history
There are no .cmake modules installed, so it has no effect.

Signed-off-by: Martin Valgur <[email protected]>
  • Loading branch information
valgur committed Feb 29, 2024
1 parent fed22ab commit c11bd1c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmake/urdfdom-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ if (@PKG_NAME@_CONFIG_INCLUDED)
endif()
set(@PKG_NAME@_CONFIG_INCLUDED TRUE)

set(CMAKE_MODULE_PATH_BACKUP_URDFDOM ${CMAKE_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH "${@PROJECT_NAME@_DIR}")

set(@PKG_NAME@_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
if(@APPEND_PROJECT_NAME_TO_INCLUDEDIR@)
list(APPEND @PKG_NAME@_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/..")
Expand All @@ -34,5 +31,3 @@ foreach(exp @PKG_EXPORTS@)
endforeach()

set(@PKG_NAME@_LIBRARIES ${@PKG_NAME@_TARGETS})

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH_BACKUP_URDFDOM})

0 comments on commit c11bd1c

Please sign in to comment.