`-DBOOST_DIR=%s' % spec['boost'].prefix,

worked fine so far in Spack with Linux and macOS. 

Could that be that CMake can't pickup your boost installation on Windows?
Somewhat similar to what is discussed here for 
PETSc https://github.com/dealii/dealii/issues/3060#issuecomment-247867024

Cheers,
Denis.

On Tuesday, April 15, 2014 at 4:21:00 AM UTC+2, Bruno Turcksin wrote:
>
> Hi all,
>
> I'm trying to install deal.II on Windows and I want to use a newer version 
> of Boost. However, I'm confused about which options I should give to CMake. 
> I see that there is:
> BOOST_DIR, Boost_DIR, Boost_INCLUDE_DIR and a bunch of others 
> Boost_XXX_LIBRARY_DEBUG/Boost_XXX_LIBRARY_RELEASE. I tried to play with 
> BOOST_DIR, Boost_DIR, and Boost_INCLUDE_DIR but  CMake cannot find Boost 
> and default on the bundled version. What are the difference between these 
> three directories ?
>
> Thanks
>
> Bruno
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to