[vtk-developers] VTK and CMake 2.8rc2 - argument named "TRUE" in a conditional - policy CMP0012
Sean McBride
sean at rogue-research.com
Fri Oct 2 12:08:11 EDT 2009
Hi all,
I just tried building VTK CVS with CMake 2.8rc2 and get this message:
CMake Warning (dev) at CMake/vtkDetermineCompilerFlags.cmake:98 (IF):
given arguments
${CXX_HAS_CPP_PRECOMP_FLAG}
You have used a variable or argument named "TRUE" in a conditional
statement. Please be aware of issues related to policy CMP0012. Policy
CMP0012 is not set: The if() command can recognize named boolean constants.
Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:396 (INCLUDE)
This warning is for project developers. Use -Wno-dev to suppress it.
Any CMake experts out there know how to fix it?
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list