diff -ruN iguanaIR-1.1.0-308-gc6284e5/software/usb_ir/python/CMakeLists.txt iguanaIR-1.1.0-308-gc6284e5.new/software/usb_ir/python/CMakeLists.txt --- iguanaIR-1.1.0-308-gc6284e5/software/usb_ir/python/CMakeLists.txt 2018-01-21 04:54:51.000000000 +0100 +++ iguanaIR-1.1.0-308-gc6284e5.new/software/usb_ir/python/CMakeLists.txt 2022-09-11 17:55:34.415743825 +0200 @@ -19,7 +19,7 @@ # for cmake < 2.8.8 (without PYTHONLIBS_VERSION_STRING) default to 2.7 Set(PYMAJMINVER "2.7") If(NOT "${PYTHONLIBS_VERSION_STRING}" STREQUAL "") - string(SUBSTRING ${PYTHONLIBS_VERSION_STRING} 0 3 PYMAJMINVER) + string(SUBSTRING ${PYTHONLIBS_VERSION_STRING} 0 4 PYMAJMINVER) EndIf() # force the .so files into separate directories so we can keep both