From: Toby Smithe <tsmithe@ubuntu.com>
Subject: Disable building awl plugin to ease shlib errors.

---
 mscore/CMakeLists.txt     |    2 ++
 mscore/awl/CMakeLists.txt |    4 ++++
 2 files changed, 6 insertions(+)

--- a/mscore/CMakeLists.txt
+++ b/mscore/CMakeLists.txt
@@ -36,6 +36,8 @@
 set(STATIC_SCRIPT_BINDINGS FALSE)
 set(USE_SSE FALSE)
 
+set(BUILD_AWL_PLUGIN FALSE)
+
 if (MINGW)
       set(GCC_VISIBILITY FALSE)           # we use gcc 3.6
       set(STATIC_SCRIPT_BINDINGS TRUE)
--- a/mscore/awl/CMakeLists.txt
+++ b/mscore/awl/CMakeLists.txt
@@ -84,6 +84,8 @@
       pitchlabel.h
       )
 
+if (BUILD_AWL_PLUGIN)
+
 add_library (
       awlplugin SHARED
       ${PROJECT_BINARY_DIR}/all.h
@@ -119,4 +121,6 @@
 target_link_libraries (ltest awlplugin ${QT_LIBRARIES})
 
 
+endif (BUILD_AWL_PLUGIN)
+
 endif (NOT MINGW AND NOT APPLE)
