Merge pull request #5779 from danston/Installation-macos_guide_fix-danston

MacOS Qt5 Guide Update
This commit is contained in:
Laurent Rineau 2021-06-29 15:30:32 +02:00
commit 66c7a5c496
1 changed files with 9 additions and 4 deletions

View File

@ -166,12 +166,17 @@ if no debugging is intended. Users should thus run:
cd CGAL-\cgalReleaseNumber/examples/Triangulation_2
cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball
Note that the package Qt on brew is "keg-only", which means it cannot be "linked" with brew.
You will have to specify the Qt5_DIR by hand to cmake, using something like
The package Qt5 on brew is "keg-only", which means it is not "linked" with brew.
In order to link against Qt5, you need to run:
-DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5
brew link qt@5
where '/usr/local/` is actually your current brew installation directory.
After that, you will have to specify the Qt5_DIR by hand to cmake, using something like
-DQt5_DIR=/usr/local/opt/qt5/lib/cmake/Qt5
where '/usr/local/` is actually your current brew installation directory. Check this directory
to be sure where the Qt5 is placed on your machine.
\subsection usage_configuring_cmake_gui Specifying Missing Dependencies