FYI unfortunately this solution does not work for CMakeFiles.txt with 
cmake_minimum_required(VERSION 2.6.1) or earlier because of CMP0011 that does 
implicit PUSH/POP does not work there. So setting cmake_policy(SET CMP0054 NEW) 
is internal modules will cause this policy to be not popped and carried out of 
the module.

This is pretty nasty surprise, since I thought this implicit PUSH/POP happened 
since the beginning. So currently I do not have any idea how to solve this in 
some elegant fashion therefore for now I removed stage/CMP0054-FindCUDA branch.

Maybe you can suggest something?

--Adam
-- 

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-developers

Reply via email to