Boost logo

Boost Users :

From: accelerator0099 (accelerator0099_at_[hidden])
Date: 2023-12-15 12:39:08


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
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net