File tree Expand file tree Collapse file tree
local-conan-recipes/opensubdiv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ embree3/*:sse2=True
3535embree3/*:sse42=True
3636embree3/*:avx=True
3737embree3/*:neon=True
38+ opensubdiv/*:with_tbb=True
3839opensubdiv/*:with_omp=True
3940fmt/*:header_only=True
4041spdlog/*:header_only=True
Original file line number Diff line number Diff line change @@ -196,7 +196,9 @@ def package_info(self):
196196 self .cpp_info .components ["osdcpu" ].set_property ("cmake_target_name" , f"OpenSubdiv::osdcpu{ target_suffix } " )
197197 self .cpp_info .components ["osdcpu" ].libs = ["osdCPU" ]
198198 if self .options .with_tbb :
199- self .cpp_info .components ["osdcpu" ].requires = ["onetbb::onetbb" ]
199+ self .cpp_info .components ["osdcpu" ].requires += ["onetbb::onetbb" ]
200+ if self .options .with_omp and self .settings .os == "Macos" :
201+ self .cpp_info .components ["osdcpu" ].requires += ["llvm-openmp::llvm-openmp" ]
200202
201203 if self ._osd_gpu_enabled :
202204 self .cpp_info .components ["osdgpu" ].set_property ("cmake_target_name" , f"OpenSubdiv::osdgpu{ target_suffix } " )
You can’t perform that action at this time.
0 commit comments