Commit a quick fix so that CGAL_3RD_PARTY_LIBRARIES does not contain all

possible versions of libboost_thread*.lib

(Fernando will soon a better solution, using the FindBoost.cmake shipped with
CMake-2.6.)
This commit is contained in:
Laurent Rineau 2008-07-03 14:59:20 +00:00
parent 90a00093a1
commit 73d5c00051
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ endif()
find_package(BOOST_THREAD REQUIRED)
if(BOOST_THREAD_FOUND)
set(CGAL_3RD_PARTY_LIBRARIES ${CGAL_3RD_PARTY_LIBRARIES} ${BOOST_THREAD_LIBRARIES})
if ( NOT AUTO_LINK_ENABLED )
set(CGAL_3RD_PARTY_LIBRARIES ${CGAL_3RD_PARTY_LIBRARIES} ${BOOST_THREAD_LIBRARIES})
endif( NOT AUTO_LINK_ENABLED )
set(CGAL_USE_BOOST_THREAD 1)
endif()