Could not find a package configuration file provided by "CGAL" with any of
the following names:
CGALConfig.cmake
cgal-config.cmake
Add the installation prefix of "CGAL" to CMAKE_PREFIX_PATH or set
"CGAL_DIR" to a directory containing one of the above files. If "CGAL"
provides a separate development package or SDK, be sure it has been
installed.
解决办法:
sudo apt-get install libcgal-dev
The imported target "CGAL::CGAL_Qt5" references the file:
"/usr/lib/x86_64-linux-gnu/libCGAL_Qt5.so.11.0.1"
but this file does not exist. Possible reasons include:
-
The file was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/CGAL/CGALExports.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/CGAL/CGALConfig.cmake:12 (include)
CMakeLists.txt:107 (find_package)
解决办法:
sudo apt-get install libcgal-qt5-dev