Only link explicitely when there is no autolink

This commit is contained in:
Andreas Fabri 2008-10-13 09:08:09 +00:00
parent 5e0cf08719
commit 9ae0545633
1 changed files with 2 additions and 0 deletions

View File

@ -13,7 +13,9 @@ find_package ( Boost QUIET COMPONENTS program_options )
if (CGAL_PDB_FOUND AND Boost_PROGRAM_OPTIONS_FOUND )
if ( NOT AUTO_LINK_ENABLED )
link_libraries(${Boost_PROGRAM_OPTIONS_LIBRARY})
endif ()
include(CreateSingleSourceCGALProgram)