Revision: 65561
          http://sourceforge.net/p/brlcad/code/65561
Author:   starseeker
Date:     2015-07-10 20:25:06 +0000 (Fri, 10 Jul 2015)
Log Message:
-----------
slight cleanup of clipper CMakeLists.txt file

Modified Paths:
--------------
    brlcad/trunk/src/other/clipper/CMakeLists.txt

Modified: brlcad/trunk/src/other/clipper/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/clipper/CMakeLists.txt       2015-07-10 20:23:14 UTC 
(rev 65560)
+++ brlcad/trunk/src/other/clipper/CMakeLists.txt       2015-07-10 20:25:06 UTC 
(rev 65561)
@@ -1,35 +1,40 @@
 # Minimum required version of CMake
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-IF(COMMAND CMAKE_POLICY)
+cmake_minimum_required(VERSION 2.8)
+if(COMMAND CMAKE_POLICY)
   CMAKE_POLICY(SET CMP0003 NEW)
-  if ("${CMAKE_VERSION}" VERSION_GREATER 2.99)
-         CMAKE_POLICY(SET CMP0026 OLD)
-  endif ("${CMAKE_VERSION}" VERSION_GREATER 2.99)
-ENDIF(COMMAND CMAKE_POLICY)
+endif(COMMAND CMAKE_POLICY)
 
 # Set CMake project name
-PROJECT(CLIPPER)
+project(CLIPPER)
 
-INCLUDE_DIRECTORIES(
+include_directories(
   ${CMAKE_CURRENT_SOURCE_DIR}
   )
 
-IF(NOT LIB_DIR)
-    SET(LIB_DIR lib)
-ENDIF(NOT LIB_DIR)
-IF(NOT BIN_DIR)
-    SET(BIN_DIR bin)
-ENDIF(NOT BIN_DIR)
+if(NOT LIB_DIR)
+  set(LIB_DIR lib)
+endif(NOT LIB_DIR)
+if(NOT BIN_DIR)
+  set(BIN_DIR bin)
+endif(NOT BIN_DIR)
 
-IF(MSVC)
+if(MSVC)
   add_definitions("-DCLIPPER_DLL_EXPORTS")
-ENDIF(MSVC)
+endif(MSVC)
 
 add_library(clipper clipper.cpp)
 set_target_properties(clipper PROPERTIES VERSION 4.6.0 SOVERSION 4)
 install(TARGETS clipper
-       RUNTIME DESTINATION ${BIN_DIR}
-       LIBRARY DESTINATION ${LIB_DIR}
-       ARCHIVE DESTINATION ${LIB_DIR})
+  RUNTIME DESTINATION ${BIN_DIR}
+  LIBRARY DESTINATION ${LIB_DIR}
+  ARCHIVE DESTINATION ${LIB_DIR})
 
 install(FILES clipper.hpp DESTINATION include)
+
+# Local Variables:
+# tab-width: 8
+# mode: cmake
+# indent-tabs-mode: t
+# End:
+# ex: shiftwidth=2 tabstop=8
+

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