For MSVC we no longer require boost thread and system

This commit is contained in:
Andreas Fabri 2015-09-04 11:50:54 +02:00
parent c3ad989c9f
commit bc5272495b
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,12 @@ if ( NOT CGAL_Boost_Setup )
include(CGAL_TweakFindBoost)
# In the documentation, we say we require Boost-1.48, but technically we
# require 1.39. Some packages may require more recent versions, though.
find_package( Boost 1.39 REQUIRED thread system )
if ( MSVC )
find_package( Boost 1.39 REQUIRED )
else()
find_package( Boost 1.39 REQUIRED thread system )
endif()
if(Boost_FOUND)
if(DEFINED Boost_DIR AND NOT Boost_DIR)