Commit Graph

17 Commits

Author SHA1 Message Date
Laurent Rineau 212a088c5e That variable CGAL_TweakFindBoost was useless if not set 2019-05-06 16:33:42 +02:00
Laurent Rineau d8e23fefd2 CGAL requires CMake 3.1, that know about Boost 1.56 or before 2019-05-06 16:33:01 +02:00
Laurent Rineau 623fd4f10f If BUILD_SHARED_LIBS is not defined, use Boost shared libs 2019-05-03 18:39:30 +02:00
Laurent Rineau 6615d1d12d Change the default value of CGAL_Boost_USE_STATIC_LIBS
It is now related to `BUILD_SHARED_LIBS`.
2019-04-26 17:11:24 +02:00
Laurent Rineau 36dba385a0 Add a bunch of new Boost versions 2019-04-26 17:10:49 +02:00
Laurent Rineau f3bc713103 Typo in a comment 2019-04-26 17:10:35 +02:00
Maxime Gimeno 50108dc627 Fix wrong policy setting 2018-10-29 14:25:47 +01:00
Laurent Rineau 6079b3847e Set CMP0077 to OLD (new in CMake-3.13) 2018-07-13 11:24:50 +02:00
Laurent Rineau 7c18b22b4c Fix CGAL_TweakFindBoost
That module was using the useless macros `cache_set` and
`add_to_cached_list`.
2017-03-27 18:04:53 +02:00
Laurent Rineau 7d4da6aee2 Add new additional versions of Boost (up to 1.69) 2015-04-01 17:28:30 +02:00
Laurent Rineau 8231a36e89 Add Boost_DEBUG as an advanced OPTION 2014-11-28 12:09:14 +01:00
Laurent Rineau 5a7b6ace88 Bug fix: if CGAL_Boost_USE_STATIC_LIBS evaluates to FALSE, one wants to use
its value anyway.
2011-10-26 11:24:17 +00:00
Laurent Rineau 5da9888303 Typo in text: s/option/variable/ 2011-10-13 15:38:13 +00:00
Laurent Rineau e3eef962d7 Do not add -DBOOST_DYN_LINK with auto-link if not enabled.
In particular, do not add that macro definition on Linux/MacOS.
2011-10-13 15:34:44 +00:00
Laurent Rineau d57c543d60 Bug fix again. Use cache_set with two arguments. 2011-10-12 15:03:08 +00:00
Laurent Rineau 7225ec7d1c Fix bug in a previous commit
A variable must be in cache before is can be use with add_to_cached_list.
2011-10-12 14:39:57 +00:00
Laurent Rineau 6985effcc8 Fix the CMake module CGAL_SetupBoost shipped with CGAL
CGAL_Boost_USE_STATIC_LIBS is now an (advanced) CMake option on all
platforms, and is stored in the generated CGALConfig.cmake. That way, its
value is proposed as the default value for the same option when programs
using CGAL are configured using CMake.

The script UseCGAL includes the module CGAL_TweakFindBoost, to define
Boost_USE_STATIC_LIBS and Boost_ADDITIONAL_VERSIONS.
2011-10-12 13:47:18 +00:00