[Ctk-developers] Error compiling CTK with message support ( ZMQ and CMake 2.8 )

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Thu Jun 10 14:59:01 UTC 2010


Hi Patrick,

Could you update the zeromp2 CMakeLists.txt ?

See http://github.com/PatrickCheng/zeromq2/blob/master/CMakeLists.txt

You should basically comment line 301 and 302.

Thks
Jc


On Thu, Jun 10, 2010 at 9:39 AM, Wagner Sales <wsales at gmail.com> wrote:

> Hi all,
>
> I'm compiling CTK with messaging support, which ( i think ) needs ZMQ.
> The following problem appears:
>
> CMake Error at
> /usr/share/cmake-2.8/Modules/CMakeExportBuildSettings.cmake:17
> (MESSAGE):
>  The functionality of this module has been dropped as of CMake 2.8.  It was
>  deemed harmful (confusing users by changing their compiler).  Please
> remove
>  calls to the CMAKE_EXPORT_BUILD_SETTINGS macro and stop including this
>  module.  If this project generates any files for use by external projects,
>  remove any use of the CMakeImportBuildSettings module from them.
> Call Stack (most recent call first):
>  CMakeLists.txt:301 (INCLUDE)
>
>
> Probably, CMakeLists.txt for ZMQ needs a CMAKE_MINIMUM_VERSION or
> another cmake directive to avoid this.
>
> Regards,
>
> Wagner Sales
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>



-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100610/939e6922/attachment.htm>


More information about the Ctk-developers mailing list