I just did what you said, but still getting the same error message...

On 24 April 2013 15:09, John Drescher <dresche...@gmail.com> wrote:

> On Wed, Apr 24, 2013 at 2:06 PM, Jean-Christophe Fillion-Robin
> <jchris.filli...@kitware.com> wrote:
> >
> > Hi,
> >
> > What about adding: find_package(ITK REQUIRED)
> >
> > If you use ITKv4, you could change:
> >   TARGET_LINK_LIBRARIES(test ITKCommon ITKIO ITKBasicFilters)
> > into
> >   TARGET_LINK_LIBRARIES(test ${ITK_LIBRARIES})
> >
> > As a best practice, you could use lower case for the CMake function and
> command.
> >
>
> Qt needs to be in the TARGET_LINK_LIBRARIES as well.
>
>
> TARGET_LINK_LIBRARIES(test ${ITK_LIBRARIES} ${QT_LIBRARIES} )
>
> John
>



-- 
Gabriel Santiago

~"As long as I live so long do I learn"~
Ramakhrishna
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to