# Revision history [back]

What you did was to declare your library file to be the include directory. This is clear whythis fails...

To quote from the dynamicEDT3DConfig.cmake:

#  Usage from an external project:
#    In your CMakeLists.txt, add these lines:
#
#    FIND_PACKAGE(dynamicedt3d REQUIRED )
#    INCLUDE_DIRECTORIES(${DYNAMICEDT3D_INCLUDE_DIRS}) # TARGET_LINK_LIBRARIES(MY_TARGET_NAME${DYNAMICEDT3D_LIBRARIES})

What you did was to declare your library file to be the include directory. This is clear whythis fails...

To quote from the dynamicEDT3DConfig.cmake:

#  Usage from an external project:
#    In your CMakeLists.txt, add these lines:
#
#    FIND_PACKAGE(dynamicedt3d REQUIRED )
#    INCLUDE_DIRECTORIES(${DYNAMICEDT3D_INCLUDE_DIRS}) # TARGET_LINK_LIBRARIES(MY_TARGET_NAME${DYNAMICEDT3D_LIBRARIES})

You should probably also add dynamic-edt-3d as a depend to your package.xml.