--- sonic-pi-3.3.1/app/gui/qt/CMakeLists.txt.orig 2021-03-11 22:34:49.761821221 +0100 +++ sonic-pi-3.3.1/app/gui/qt/CMakeLists.txt 2021-03-11 22:41:35.636665024 +0100 @@ -51,9 +51,8 @@ find_package(Qt5 COMPONENTS Core Widgets Gui Concurrent Network OpenGL PrintSupport Xml Svg REQUIRED) find_package(Threads REQUIRED) -# We build QScintilla as part of the main project to make it easy to debug/fix -# It is not built as part of externals -add_subdirectory(QScintilla-2.11.6) +find_library(QSCINTILLA_QT5 qscintilla2_qt5) + set(APP_NAME sonic-pi) set(MACOS_APP_NAME "Sonic Pi") @@ -212,7 +211,7 @@ target_link_libraries(${APP_NAME} PRIVATE SonicPi::SonicPiAPI - QScintilla + ${QSCINTILLA_QT5} Qt5::Core Qt5::Gui Qt5::Widgets