Skip to content
Snippets Groups Projects
Commit b7fb8206 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: internal otbsiftfast does not use boost, so don't import it

parent be57439a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment