Just to update. I managed to solve the issue by adding this line:
cmake_policy(SET CMP0028 OLD)
directly to the macro that ends up calling the add_library/add_executable
commands. Thank you for the help.
Regards,
Pierre Andersson
From: Nils Gladitz
To: pierre.anders
ating a minimal example that showcases the problem.
Regards,
Pierre Andersson
From: Nils Gladitz
To: pierre.anders...@se.atlascopco.com
Cc: cmake@cmake.org
Date: 2014-07-11 14:32
Subject:Re: [CMake] Setting Policy CMP0028
On 07/11/2014 01:33 PM, pierre.anders...@se.atlas
policies even for CMakeLists.txt that are not below it in the build system
tree?
Regards,
Pierre Andersson
From: Nils Gladitz
To: pierre.anders...@se.atlascopco.com, cmake@cmake.org
Date: 2014-07-11 11:31
Subject:Re: [CMake] Setting Policy CMP0028
On 07/11/2014 11:00 AM
lace where
other policies are set and these do take effect. Likewise, setting the
policy to NEW does not make CMake produce the fatal error like the
documentation says it should. What am I missing here?
Regards,
Pierre Andersson--
Powered by www.kitware.com
Please keep messages on-topic and