mirror of https://github.com/CGAL/cgal
For MSVC we no longer require boost thread and system
This commit is contained in:
parent
c3ad989c9f
commit
bc5272495b
|
|
@ -3,7 +3,12 @@ if ( NOT CGAL_Boost_Setup )
|
||||||
include(CGAL_TweakFindBoost)
|
include(CGAL_TweakFindBoost)
|
||||||
# In the documentation, we say we require Boost-1.48, but technically we
|
# In the documentation, we say we require Boost-1.48, but technically we
|
||||||
# require 1.39. Some packages may require more recent versions, though.
|
# 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(Boost_FOUND)
|
||||||
if(DEFINED Boost_DIR AND NOT Boost_DIR)
|
if(DEFINED Boost_DIR AND NOT Boost_DIR)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue