Skip to content

Commit

Permalink
fix EXPORTED_TARGETS argument for catkin_package() (fix #581)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jan 28, 2014
1 parent 5d8d244 commit 0494651
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Changelog for package catkin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Forthcoming
-----------
* fix EXPORTED_TARGETS argument for catkin_package() (`#581 <https://github.com/ros/catkin/issues/581>`_)

0.5.80 (2014-01-27)
-------------------
* fix library deduplication (`#565 <https://github.com/ros/catkin/issues/565>`_)
Expand Down
4 changes: 2 additions & 2 deletions cmake/catkin_package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# file will ensure that the targets exists.
# If the global variable ${PROJECT_NAME}_EXPORTED_TARGETS is
# set it will be prepended to the explicitly passed argument.
# :type EXPORTED_TARGETS: string
# :type EXPORTED_TARGETS: list of strings
# :param SKIP_CMAKE_CONFIG_GENERATION: the option to skip the generation
# of the CMake config files for the package
# :type SKIP_CMAKE_CONFIG_GENERATION: bool
Expand Down Expand Up @@ -99,7 +99,7 @@ macro(catkin_package)
endmacro()

function(_catkin_package)
cmake_parse_arguments(PROJECT "SKIP_CMAKE_CONFIG_GENERATION;SKIP_PKG_CONFIG_GENERATION" "" "INCLUDE_DIRS;LIBRARIES;CATKIN_DEPENDS;DEPENDS;CFG_EXTRAS" ${ARGN})
cmake_parse_arguments(PROJECT "SKIP_CMAKE_CONFIG_GENERATION;SKIP_PKG_CONFIG_GENERATION" "" "INCLUDE_DIRS;LIBRARIES;CATKIN_DEPENDS;DEPENDS;CFG_EXTRAS;EXPORTED_TARGETS" ${ARGN})
if(PROJECT_UNPARSED_ARGUMENTS)
message(FATAL_ERROR "catkin_package() called with unused arguments: ${PROJECT_UNPARSED_ARGUMENTS}")
endif()
Expand Down

0 comments on commit 0494651

Please sign in to comment.