Skip to content

Commit

Permalink
g2o: update and enable OpenMP
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 8, 2024
1 parent ace757b commit 47b5491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/g2o/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class G2oConan(ConanFile):
"sse4_1": True,
"sse4_2": True,
"sse4_a": False,
"with_openmp": False,
"with_openmp": True,
"with_cholmod": False,
"with_csparse": False,
}
Expand Down Expand Up @@ -128,7 +128,7 @@ def requirements(self):
self.requires("freeglut/3.4.0", transitive_headers=True, transitive_libs=True)
if self.options.with_openmp and self.settings.compiler in ["clang", "apple-clang"]:
# Used in core/openmp_mutex.h, also '#pragma omp' is used in several core public headers
self.requires("llvm-openmp/17.0.6", transitive_headers=True, transitive_libs=True)
self.requires("llvm-openmp/18.1.8", transitive_headers=True, transitive_libs=True)
if self.options.with_cholmod:
self.requires("suitesparse-cholmod/5.2.1")
if self.options.with_csparse:
Expand Down

0 comments on commit 47b5491

Please sign in to comment.