Open d-krupke opened 1 year ago
cmake_args=["-DCMAKE_POLICY_DEFAULT_CMP0091=NEW"]
is now set automatically by skbuild_conan.
Tried to get it working but it seems like it returns a different type on Windows than on Unix.
D:\a\pyvispoly\pyvispoly\src\pyvispoly\_cgal_bindings.cpp(166,26): error C2039: 'twin': is not a member of 'CGAL::Arr_halfedge<V,H,F>' [D:\a\pyvispoly\pyvispoly\_skbuild\win-amd64-3.11\cmake-build\src\pyvispoly\_cgal_bindings.vcxproj]
with
[
V=CGAL::Arr_vertex_base<CGAL::Point_2<CGAL::Epeck>>,
H=CGAL::Arr_halfedge_base<CGAL::Arr_segment_2<Kernel>>,
F=CGAL::Arr_face_base
]
Maybe ->opposite()
works on Windows, but it won't on Unix.
There is also a Windows-Pytest Action that can be manually triggered.
Looks like I used some handler wrong, but it works on Linux und Mac. Will have to dive deeper into it.
Additionally, one has to use
cmake_args=["-DCMAKE_POLICY_DEFAULT_CMP0091=NEW"],
on Windows. Will have to automatically set this in skbuild_conan.