pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

cmake version required in CMakeLists.txt is probably outdated

Open fuyb1992 opened this issue 3 years ago • 0 comments

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.

fuyb1992 avatar Apr 01 '22 01:04 fuyb1992