diff --git a/Utilities/otbsiftfast/CMakeLists.txt b/Utilities/otbsiftfast/CMakeLists.txt index 65688b52345e57ff323994875bd148494243e9a5..d0eca9cd8503b70f39166fa321b1e091bfda8499 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)