Thank you for your answer. It helped me a lot. 2016-04-04 12:07 GMT+02:00 Nils Gladitz <nilsglad...@gmail.com>: > On 04/04/2016 10:33 AM, Kristian wrote: >> >> Hey, >> >> I have a question. I have a project, which is compiled on two >> different build machines with ninja (trunk and branch). The >> CMakeLists.txt is the same when it comes to a part, where the VERSION >> and SOVERSION part is set through the function >> 'set_target_properties'. >> >> But on the first build machines, setting the VERSION and SOVERSION >> works, on the other machine it does not work. On the second machine >> (where the build fails), I recently upgraded CMake to 3.5 (I compiled >> and installed it on my own). The first build machine has CMake with >> version 2.8.11 (installed from local package manager yum). >> >> I've tried some things till I got a minimum example, where I could >> reproduce the error. The problem is calling add_library with MODULE. >> > > This behavior was deliberately changed by: > https://cmake.org/gitweb?p=cmake.git;a=commit;h=f799ffb5cb895855ac2aba54765622b81db5be38 > > Which is in CMake since ~3.4.0. > > The change is related to this issue: > https://cmake.org/Bug/view.php?id=15705 > > Nils --
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: http://public.kitware.com/mailman/listinfo/cmake