From 2716ffaf602fd9f39d9aca06a0853ed10cf90132 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sat, 21 Nov 2020 19:15:08 +0800 Subject: feat: windows extra plugin --- CMakeLists.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 32fc3c9..5862f0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,8 @@ pkg_search_module(rtmidi REQUIRED rtmidi) option(BUILD_VISUALIZATION "Build visualization plugin" ON) if(WIN32) - option(BUILD_BACKTRACE "Build backtrace library" OFF) + option(BUILD_WINEXTRA "Build Windows extra library" ON) + option(BUILD_BACKTRACE "Build backtrace library" OFF) endif() if(UNIX) option(BUILD_PORTABLE "Instruct the built binary not to search system directories" OFF) @@ -37,7 +38,10 @@ if(BUILD_VISUALIZATION) add_subdirectory(visualization) endif() if(WIN32) -if(BUILD_BACKTRACE) - add_subdirectory(third_party/backtrace-mingw) -endif() + if(BUILD_WINEXTRA) + add_subdirectory(windows-extra) + endif() + if(BUILD_BACKTRACE) + add_subdirectory(third_party/backtrace-mingw) + endif() endif() -- cgit v1.2.3