Re: [CMake] Policy Scope Question

2009-12-31 Thread Alexander Neundorf
On Tuesday 29 December 2009, Richard Wackerbarth wrote: I have a question about policy CMP0011. I have: $ cat Call_process_dashboard.cmake # Call process_dashboard # These files are maintained by Richard Wackerbarth set(maintainer_email_account Richard) set(maintainer_email_domain

Re: [CMake] Policy Scope Question

2009-12-31 Thread Richard Wackerbarth
Checking Project CMake/2_8. Running Dashboard for CMake/2_8. Problem opening /proc/cpuinfo Problem opening /proc/cpuinfo Problem opening /proc/cpuinfo CMake Warning (dev) at Dashboards/Scripts/Possibly_Run_Dashboard.cmake:14 (include): Policy CMP0011 is not set: Included scripts do automatic

Re: [CMake] Policy Scope Question

2009-12-31 Thread David Cole
If you do cmake_minimum_required to something less than 2.8, then that call will reset any policies you have set at the outer level... So, to really use a NEW value for policy CMP0011, you have to do it *after* the last cmake_minimum_required or update your min required to 2.8... On Thu, Dec 31,

[CMake] Policy Scope Question

2009-12-29 Thread Richard Wackerbarth
I have a question about policy CMP0011. I have: $ cat Call_process_dashboard.cmake # Call process_dashboard # These files are maintained by Richard Wackerbarth set(maintainer_email_account Richard) set(maintainer_email_domain NFSNet.org) IF(COMMAND CMAKE_POLICY) CMAKE_POLICY(SET CMP0011