[vtk-developers] How to write the CMakeLists.txt file without INCLUDE(${VTK_USE_FILE})

Mingcheng Chen linyufly at gmail.com
Tue Apr 30 00:02:35 EDT 2013


Hi Bill,

Thanks!

I need to use cuda_add_executable. It will be influenced by
INCLUDE(${VTK_USE_FILE}). The compilation will fail. How to solve that
problem?

Thanks again!

Best regards,
Mingcheng Chen
April 29th, 2013


On Mon, Apr 29, 2013 at 10:57 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> you must INCLUDE(${VTK_USE_FILE})
>
>
>
>
> On Mon, Apr 29, 2013 at 11:38 PM, Mingcheng Chen <linyufly at gmail.com>wrote:
>
>> Hi everyone,
>>
>> For some reason I do not want INCLUDE(${VTK_USE_FILE}) in my cmake
>> CMakeLists.txt.
>>
>> I use INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) and
>> target_link_libraries(xxx ${VTK_LIBRARIES}), but it seems not enough.
>>
>> Thanks!
>>
>> Best regards,
>> Mingcheng Chen
>> April 29th, 2013
>>
>> --
>> Research Assistant in Graphics Group
>>  University of Illinois at Urbana-Champaign
>> http://mingchengchen.org
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>



-- 
Research Assistant in Graphics Group
University of Illinois at Urbana-Champaign
http://mingchengchen.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130429/380e73b7/attachment.html>


More information about the vtk-developers mailing list