aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 92ba7f7..6b92872 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,9 @@ pkg_search_module(fluidsynth REQUIRED fluidsynth>=2.0.0)
pkg_search_module(rtmidi REQUIRED rtmidi)
option(BUILD_VISUALIZATION "Build visualization plugin" ON)
+if(WIN32)
+ option(BUILD_BACKTRACE "Build backtrace library" OFF)
+endif()
add_subdirectory(core)
add_subdirectory(qmidiplayer-desktop)
@@ -24,3 +27,8 @@ add_subdirectory(simple-visualization)
if(BUILD_VISUALIZATION)
add_subdirectory(visualization)
endif()
+if(WIN32)
+if(BUILD_BACKTRACE)
+ add_subdirectory(third_party/backtrace-mingw)
+endif()
+endif()