mirror of https://github.com/CGAL/cgal
When CGAL_Qt5 or CGAL_Core targets are imported, then we need to call
`find_package(Qt5)` and `find_package(Boost)` to re-import the
targets of Qt5 or `Boost::thread`.
Otherwise, there is that CMake warning:
CMake Warning (dev) at /mnt/testsuite/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake:49 (add_executable):
Policy CMP0028 is not set: Double colon in target name means ALIAS or
IMPORTED target. Run "cmake --help-policy CMP0028" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target "test_Min_circle" links to target "Boost::thread" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:22 (create_single_source_cgal_program)
This warning is for project developers. Use -Wno-dev to suppress it.
and then that link error:
/usr/bin/ld: cannot find -lBoost::thread
Ref:
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.12-Ic-200/Bounding_volumes/TestReport_lrineau_Fedora-Release.gz
|
||
|---|---|---|
| .. | ||
| auxiliary | ||
| cmake/modules | ||
| demo | ||
| doc_html | ||
| examples | ||
| include/CGAL | ||
| lib/cmake/CGAL | ||
| package_info/Installation | ||
| src | ||
| test | ||
| AUTHORS | ||
| CGALConfig.cmake | ||
| CHANGES.md | ||
| CMakeLists.txt | ||
| INSTALL.md | ||
| LICENSE | ||
| LICENSE.BSL | ||
| LICENSE.FREE_USE | ||
| LICENSE.GPL | ||
| LICENSE.LGPL | ||
| README | ||
README
README
-------------------------------------------------------------------------------
This distribution of CGAL includes:
AUTHORS - current and former authors of CGAL
CHANGES - history of changes for the library
CMakeLists.txt - main script of the build system
INSTALL.md - information about the installation process
LICENSE - describes the license of CGAL
LICENSE.FREE_USE - text of the free use license (see LICENSE file)
LICENSE.GPL - text of GPL v3 license
LICENSE.LGPL - text of LGPL v3 license
README - this file
VERSION - version number of this release
auxiliary/ - directory containing miscellaneous things, currently only
the icons needed for the demos on MacOS X
cmake/ - some scripts needed by the build system
config/ - some test programs used during the configuration process
demo/ - many demo programs for the library's various packages.
These programs produce visual output (see INSTALL for
prerequisites).
doc_html/ - documentation, e.g. the CGAL Installation Guide
examples/ - programs illustrating the library's functionality.
These programs do not produce visual output.
include/ - the include files for the CGAL library (and other small
external libraries as well, see the LICENSE file)
scripts/ - some useful scripts for CGAL programmers
src/ - the source code for building the CGAL libraries
(as well as some external libraries, see the LICENSE file)
-------------------------------------------------------------------------------