Commit 2e41d737 authored by Kasper Marstal's avatar Kasper Marstal
Browse files

CMAKE: Remove deprecated boost dependencies

parent 8ca5ec50
......@@ -119,8 +119,7 @@ include( ${ITK_USE_FILE} )
set( Boost_USE_STATIC_LIBS ON ) # only find static libs
set( Boost_USE_MULTITHREADED ON )
set( Boost_USE_STATIC_RUNTIME OFF )
find_package( Boost 1.65.0 EXACT COMPONENTS filesystem system log_setup log date_time chrono atomic thread regex REQUIRED QUIET ) # graph ?
find_package( Boost 1.65.0 EXACT COMPONENTS program_options filesystem system regex REQUIRED QUIET ) # graph ?
include_directories( ${Boost_INCLUDE_DIRS} )
# ---------------------------------------------------------------------
......
......@@ -24,7 +24,7 @@ set( proj BOOST )
# while on Windows, we need CR/LF line feeds (only available in the .zip)
set( BOOST_CONFIGURE_COMMAND )
set( B2_ARGS --with-program_options --with-filesystem --with-log --with-date_time --with-chrono --with-thread --with-regex address-model=64 )
set( B2_ARGS --with-program_options --with-filesystem --with-system --with-regex address-model=64 )
if( UNIX )
set( BOOST_URL "http://dl.bintray.com/boostorg/release/1.65.0/source/boost_1_65_0.tar.gz")
set( BOOST_MD5 d75a27ad1a34cfc7c9b5cb92594410c3 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment