Revision: 65595
          http://sourceforge.net/p/brlcad/code/65595
Author:   starseeker
Date:     2015-07-12 15:20:52 +0000 (Sun, 12 Jul 2015)
Log Message:
-----------
avoid some warnings

Modified Paths:
--------------
    brlcad/trunk/src/other/incrTcl/itcl/CMakeLists.txt
    brlcad/trunk/src/other/incrTcl/itk/CMakeLists.txt

Modified: brlcad/trunk/src/other/incrTcl/itcl/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/incrTcl/itcl/CMakeLists.txt  2015-07-12 14:58:17 UTC 
(rev 65594)
+++ brlcad/trunk/src/other/incrTcl/itcl/CMakeLists.txt  2015-07-12 15:20:52 UTC 
(rev 65595)
@@ -40,6 +40,9 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 IF(COMMAND CMAKE_POLICY)
   CMAKE_POLICY(SET CMP0003 NEW)
+  if ("${CMAKE_VERSION}" VERSION_GREATER 3.0)
+         CMAKE_POLICY(SET CMP0048 NEW)
+  endif ("${CMAKE_VERSION}" VERSION_GREATER 3.0)
 ENDIF(COMMAND CMAKE_POLICY)
 
 # set CMake project name

Modified: brlcad/trunk/src/other/incrTcl/itk/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/incrTcl/itk/CMakeLists.txt   2015-07-12 14:58:17 UTC 
(rev 65594)
+++ brlcad/trunk/src/other/incrTcl/itk/CMakeLists.txt   2015-07-12 15:20:52 UTC 
(rev 65595)
@@ -40,6 +40,9 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 IF(COMMAND CMAKE_POLICY)
   CMAKE_POLICY(SET CMP0003 NEW)
+  if ("${CMAKE_VERSION}" VERSION_GREATER 3.0)
+         CMAKE_POLICY(SET CMP0048 NEW)
+  endif ("${CMAKE_VERSION}" VERSION_GREATER 3.0)
 ENDIF(COMMAND CMAKE_POLICY)
 
 # set CMake project name

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to