Hello,

You can just set DEAL_II_DIR in your environment. If you are using bash you 
can do `export DEAL_II_DIR=/path/to/deal.II` in your terminal or put that 
line you .bashrc if you want to do this permanently. Personally, I just 
write the cmake line in a file and make the file executable. When I need to 
call cmake, I just call the executable.

Best,

Bruno 

On Thursday, February 22, 2024 at 8:33:30 AM UTC-5 dubioust...@gmail.com 
wrote:

> Hi,
>
> This may be a newb question. I am probably struggling understanding how to 
> set paths in cmake and spent some time reading the documentation for cmake.
>
> My question is, how can I set the DEAL_II_DIR in the CMakeLists.txt so I 
> don't have to provide a path every time I call the cmake command?
>
> Thanks
>

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/9f8385f5-9b43-4613-9eea-60188a107d81n%40googlegroups.com.

Reply via email to