summaryrefslogtreecommitdiff
path: root/user/quaternion/unbundle-lib2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/quaternion/unbundle-lib2.patch')
-rw-r--r--user/quaternion/unbundle-lib2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/quaternion/unbundle-lib2.patch b/user/quaternion/unbundle-lib2.patch
new file mode 100644
index 000000000..5b3b4d2f6
--- /dev/null
+++ b/user/quaternion/unbundle-lib2.patch
@@ -0,0 +1,15 @@
+--- Quaternion-0.0.9.2/CMakeLists.txt.old 2018-06-17 01:05:02.000000000 +0000
++++ Quaternion-0.0.9.2/CMakeLists.txt 2018-07-25 05:15:28.550000000 +0000
+@@ -43,8 +43,10 @@
+ endif()
+ get_filename_component(Qt5_Prefix "${Qt5_DIR}/../../../.." ABSOLUTE)
+
+-add_subdirectory(lib)
+-include_directories(lib)
++if (NOT USE_DYNAMIC_LIB)
++ add_subdirectory(lib)
++ include_directories(lib)
++endif()
+
+ message( STATUS )
+ message( STATUS "=============================================================================" )