Hello 

I have cgal installed via spack

$ spack location -i cgal
/home/spack/opt/spack/linux-opensuse15-broadwell/gcc-12.3.0/cgal-5.5.2-6umjskepmayihkexoscjiovjmtgo5toy

and I add

-DDEAL_II_CXX_FLAGS="-march=native -std=c++17" \
-DCGAL_DIR=`spack location -i cgal`  \
-DDEAL_II_WITH_CGAL:BOOL=ON  \

but cmake cannot find it. Any ideas what could be wrong ?

Thanks
praveen

---------------------------------------------

-- Include 
/home/praveen/Applications/deal.II/9.5.1/cmake/configure/configure_50_cgal.cmake
-- Processing CGAL variables and targets
--   CGAL_INCLUDE_DIRS: *** Required variable "CGAL_INCLUDE_DIRS" empty ***
-- Unable to process CGAL
-- DEAL_II_WITH_CGAL has unmet external dependencies.
CMake Error at cmake/macros/macro_configure_feature.cmake:112 (message):
  

  Could not find the cgal library!

  Please ensure that a suitable cgal library is installed on your computer.

  If the library is not at a default location, either provide some hints for
  autodetection,

      $ CGAL_DIR="..." cmake <...>
      $ cmake -DCGAL_DIR="..." <...>

  or set the relevant variables by hand in ccmake.

Call Stack (most recent call first):
  cmake/macros/macro_configure_feature.cmake:277 (feature_error_message)
  cmake/configure/configure_50_cgal.cmake:80 (configure_feature)
  cmake/macros/macro_verbose_include.cmake:19 (include)
  CMakeLists.txt:120 (verbose_include)

-- 
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/D00F493D-1547-4AEF-8CEC-70F93838A30A%40gmail.com.

Reply via email to