[MOAB-dev] r1894 - MOAB/trunk
dcthomp at mcs.anl.gov
dcthomp at mcs.anl.gov
Fri Jun 13 00:53:54 CDT 2008
Author: dcthomp
Date: 2008-06-13 00:53:54 -0500 (Fri, 13 Jun 2008)
New Revision: 1894
Modified:
MOAB/trunk/CMakeLists.txt
Log:
ENH: Quell warnings from CMake 2.6.0 and newer.
Modified: MOAB/trunk/CMakeLists.txt
===================================================================
--- MOAB/trunk/CMakeLists.txt 2008-06-13 05:53:13 UTC (rev 1893)
+++ MOAB/trunk/CMakeLists.txt 2008-06-13 05:53:54 UTC (rev 1894)
@@ -1,6 +1,9 @@
project( MOAB )
cmake_minimum_required( VERSION 2.4 )
+ if ( COMMAND cmake_policy )
+ cmake_policy( SET CMP0003 NEW )
+ endif ( COMMAND cmake_policy )
include( ${MOAB_SOURCE_DIR}/cmake/GetAcInitVersion.cmake )
get_ac_init_version()
More information about the moab-dev
mailing list