From b7fb8206209da371c9644c304755ec424d65ed47 Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Sun, 22 Apr 2012 21:11:20 +0200
Subject: [PATCH] ENH: internal otbsiftfast does not use boost, so don't import
 it

---
 Utilities/otbsiftfast/CMakeLists.txt | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/Utilities/otbsiftfast/CMakeLists.txt b/Utilities/otbsiftfast/CMakeLists.txt
index 65688b5234..d0eca9cd85 100644
--- a/Utilities/otbsiftfast/CMakeLists.txt
+++ b/Utilities/otbsiftfast/CMakeLists.txt
@@ -170,20 +170,20 @@ elseif(MSVC)
   endif()
 endif()
 
-set(Boost_ADDITIONAL_VERSIONS "1.40" "1.39" "1.38" "1.37.0" "1.37" "1.35.0" "1.34.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33")
-if( NOT $ENV{BOOST_INCLUDEDIR} STREQUAL "" )
-  set(Boost_INCLUDE_DIR $ENV{BOOST_INCLUDEDIR})
-endif()
-if( NOT $ENV{BOOST_LIBRARYDIR} STREQUAL "" )
-  set(Boost_LIBRARY_DIRS $ENV{BOOST_LIBRARYDIR})
-endif()
-find_package(Boost COMPONENTS python)
-
-if( Boost_FOUND )
-  message(STATUS "found boost version: ${Boost_VERSION}")
-else()
-  message(STATUS "Could not find boost libraries!")
-endif()
+#set(Boost_ADDITIONAL_VERSIONS "1.40" "1.39" "1.38" "1.37.0" "1.37" "1.35.0" "1.34.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33")
+#if( NOT $ENV{BOOST_INCLUDEDIR} STREQUAL "" )
+#  set(Boost_INCLUDE_DIR $ENV{BOOST_INCLUDEDIR})
+#endif()
+#if( NOT $ENV{BOOST_LIBRARYDIR} STREQUAL "" )
+#  set(Boost_LIBRARY_DIRS $ENV{BOOST_LIBRARYDIR})
+#endif()
+#find_package(Boost COMPONENTS python)
+
+#if( Boost_FOUND )
+#  message(STATUS "found boost version: ${Boost_VERSION}")
+#else()
+#  message(STATUS "Could not find boost libraries!")
+#endif()
 
 add_library(otbsiftfast libsiftfast.cpp)
 
-- 
GitLab