mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-17 22:08:39 +00:00
C++ docs: fix the dir that should be passed to CMAKE_PREFIX_PATH
This commit is contained in:
parent
714a91e928
commit
45c19d6154
2 changed files with 7 additions and 4 deletions
|
@ -21,8 +21,9 @@ You can download one of our pre-built binaries for Linux or Windows on x86-64 ar
|
|||
or `slint-cpp-XXX-win64.exe` for a Windows installer. ("XXX" refers to the version of the latest release)
|
||||
4. Unpack the downloaded archive or run the installer.
|
||||
|
||||
After extracting the artifact or running the installer, you need to place the
|
||||
`lib` sub-directory into your `CMAKE_PREFIX_PATH`. `find_package(Slint)` will
|
||||
After extracting the artifact or running the installer, you need to place the installation
|
||||
directory into your `CMAKE_PREFIX_PATH` by using the `-DCMAKE_PREFIX_PATH=/path/to/installed/slint`
|
||||
argument in your cmake invocation. `find_package(Slint)` will
|
||||
then be able to find Slint from within a `CMakeLists.txt` file.
|
||||
|
||||
At runtime you might also need to add the `lib` sub-directory to the `PATH`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue