Re: Fin boost with cmake in config mode
accelerator0099 via Boost-users <[email protected]> Fri, 15 Dec 2023 20:39:08 +0800
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <[email protected]> |
Use cmake variable CMAKE_PREFIX_PATH Example: cmake -B out -DCMAKE_PREFIX_PATH=/mypath/ . Assuming that your boost is installed under /mypath/, in other words, you have those directory tree: mypath ├── include │ └── boost └── lib On 12/15/23 18:45, Alain O' Miniussi via Boost-users wrote: > Hi, > > I'd like to find Boost 1.84 from cmake 3.28 in config mode (https://cmake.org/cmake/help/latest/command/find_package.html#id6) > > My Boost distribution is in a non standard location <mypath> meaning, IF i UNDERSTAND CORRECTLY, that cmake will try to set Boost_DIR to <mypath>/lib/cmake/Boost-1.84.0/BoostConfig.cmake. > > Which environnement should I set so that it works ? > > Thanks > > ---- > Alain Miniussi > DSI, Pôles Calcul et Genie Log. > Observatoire de la Côte d'Azur > Tél. : +33609650665 > _______________________________________________ > Boost-users mailing list > [email protected] > https://lists.boost.org/mailman/listinfo.cgi/boost-users _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users