pythonocc-core
pythonocc-core copied to clipboard
cmake version required in CMakeLists.txt is probably outdated
CMakeLists.txt line 18, cmake_minimum_required(VERSION 3.12) , probably should be changed to cmake_minimum_required(VERSION 3.15) .
According to cmake document (https://cmake.org/cmake/help/git-stage/module/FindPython3.html), Python3::Module
is new in version 3.15, when using cmake version < 3.15, line 281 swig_link_libraries(${OCE_MODULE} ${OCE_MODEL_LIBRARIES} Python3::Module) triggers Python3::Module not found error.