Hello,

I upgraded to 3.0 recently and tried to generate build files for a project (
https://github.com/tpaviot/oce/). I noticed the new warning about CMP0043
and have been trying to fix, but setting the policy to OLD, even at the
beginning of CMakeLists.txt doesn't seem to do anything. Is this a bug or
what? "cmake_policy(SET CMP0043 OLD)" is what I put at the beginning.
Strangely enough, setting the policy in some of the other child
CMakeLists.txt files seems to reduce errors, but placing this in the main
one (which accounts for 29 errors) does nothing. There are 5 occurrences of
COMPILE_DEFINITIONS_something in the main file, so there should be at least
5 less errors when this is set in the main file.

-Jake
-- 

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to