--- CMakeLists.txt.orig 2020-12-24 21:32:13 UTC +++ CMakeLists.txt @@ -44,6 +44,6 @@ set(SIP_EXTRA_FILES_DEPEND src/String.sip ) -set(SIP_EXTRA_OPTIONS -g) # Always release the GIL before calling C++ methods. +set(SIP_EXTRA_OPTIONS -g -n PyQt5.sip) # Always release the GIL before calling C++ methods. include_directories(src/ ${SIP_INCLUDE_DIRS} ${Python3_INCLUDE_DIRS} ${CLIPPER_INCLUDE_DIRS} ${NLopt_INCLUDE_DIRS} ${LIBNEST2D_INCLUDE_DIRS}) add_sip_python_module(pynest2d src/Pynest2D.sip ${CLIPPER_LIBRARIES} ${NLopt_LIBRARIES})