[Smtk-developers] Using SuperBuilder in Developer Mode with SMTK

Robert Maynard robert.maynard at kitware.com
Wed May 18 15:20:28 EDT 2016


These deprecation warnings are to be expected as SMTK is using CMake functions that are being phased out. We need to change our CMake code if we want these warnings to go away. 

Sent from my iPhone

> On May 18, 2016, at 2:33 PM, Bob Obara <bob.obara at kitware.com> wrote:
> 
> Hi All,
> 
> I’ve done a clean SuperBuild with cmb and smtk develop set to true.  I builds fine but when I try to build SMTK against it (using the smtk config file generated by the superbuild) I get :
> 
> 
>  CMake Deprecation Warning at /Applications/CMake-3.5.app/Contents/share/cmake-3.5/Modules/Qt4Macros.cmake:487 (message):
>    The qt4_use_modules function is obsolete.  Use target_link_libraries with
>    IMPORTED targets instead.
>  Call Stack (most recent call first):
>    smtk/extension/qt/CMakeLists.txt:114 (qt4_use_modules)
> 
> 
> 
>  CMake Deprecation Warning at /Applications/CMake-3.5.app/Contents/share/cmake-3.5/Modules/Qt4Macros.cmake:487 (message):
>    The qt4_use_modules function is obsolete.  Use target_link_libraries with
>    IMPORTED targets instead.
>  Call Stack (most recent call first):
>    smtk/extension/qt/testing/cxx/CMakeLists.txt:20 (qt4_use_modules)
> 
> 
> 
>  CMake Deprecation Warning at /Applications/CMake-3.5.app/Contents/share/cmake-3.5/Modules/Qt4Macros.cmake:487 (message):
>    The qt4_use_modules function is obsolete.  Use target_link_libraries with
>    IMPORTED targets instead.
>  Call Stack (most recent call first):
>    smtk/extension/qt/testing/cxx/CMakeLists.txt:66 (qt4_use_modules)
> 
> 
> 
> 
> Should I be getting this warning?
> 
> Thanks!
> 
> Bob
> 
> Robert M. O'Bara, MEng.
> Assistant Director of Scientific Computing
> 
> Kitware Inc.
> 28 Corporate Drive
> Suite 101
> Clifton Park, NY 12065
> 
> Phone: (518) 881- 4931
> 
> 
> 
> 
> _______________________________________________
> Smtk-developers mailing list
> Smtk-developers at smtk.org
> http://public.kitware.com/mailman/listinfo/smtk-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20160518/6e0c0cd5/attachment.html>


More information about the Smtk-developers mailing list