From 6f7226ea0414ace61fbe95891ab72e5aca370cfa Mon Sep 17 00:00:00 2001 From: bnnm Date: Sat, 7 Aug 2021 13:01:55 +0200 Subject: [PATCH] cmake: don't build foobar for MinGW --- CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 37caaa36..cae4f998 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,10 +51,12 @@ endif() # Build choices option(BUILD_CLI "Build vgmstream CLI" ON) if(WIN32) - option(BUILD_FB2K "Build foobar2000 component" ON) - set(FB2K_SDK_PATH CACHE PATH "Path to foobar2000 SDK") - set(WTL_INCLUDE_PATH CACHE PATH "Path to WTL include directory") - set(FB2K_COMPONENT_INSTALL_PREFIX CACHE PATH "Path to foobar2000 component installation directory") + if(NOT MINGW) + option(BUILD_FB2K "Build foobar2000 component" ON) + set(FB2K_SDK_PATH CACHE PATH "Path to foobar2000 SDK") + set(WTL_INCLUDE_PATH CACHE PATH "Path to WTL include directory") + set(FB2K_COMPONENT_INSTALL_PREFIX CACHE PATH "Path to foobar2000 component installation directory") + endif() option(BUILD_WINAMP "Build Winamp plugin" ON) set(WINAMP_INSTALL_PREFIX CACHE PATH "Path to Winamp installation directory") option(BUILD_XMPLAY "Build XMPlay plugin" ON)