On Mon, 2 Jul 2018 12:08:16 +0200
Patrick Boettcher <patrick.boettc...@posteo.de> wrote:

> Hi,
> 
> I (and someone else) stumbled upon a problem when using the Azure
> IOTHUB SDK for C on a Linux platform using cmake 3.10+:
> 
> https://github.com/Azure/azure-iot-sdk-c/issues/505
> 
> The problem seems to be triggered by having two .def-files as
> add_library()-source-files.
> 
> During the build cmake generates a command which does:
> 
>   cmake -E __create_def
> 
> This fails as unknown to cmake.
> 
> Is this a cmake-bug or is Azure using .def-files the wrong way?
> 
> A quick additional test show that the problem is coming from having
> 2 .def-files as sources. Having just one is OK.

The issue is no more present with CMake 3.12.0-rc1. It seems to be
fixed with

  
https://gitlab.kitware.com/cmake/cmake/commit/1ac042aa67c0e0ab531cd38977cb2f65fd96ed4b

. This bug-fix is not included in 3.11.3 .

--
Patrick.
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to