From 37ff3c2c118fb605e3b99e59f1e6cf5f4f737994 Mon Sep 17 00:00:00 2001 From: Patrick W3AXL Date: Fri, 14 Feb 2025 11:46:53 -0500 Subject: [PATCH] cmake works on Windows msvc when using -A Win32 -T host=x86 --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f40817c..4f7ade0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,13 +16,7 @@ project(dvmvocoder) set(CMAKE_STATIC_LIBRARY_PREFIX "") set(CMAKE_SHARED_LIBRARY_PREFIX "") -option(COMPILE_WIN32 "Compile for Win32" off) - -# Set up wion -if(COMPILE_WIN32) - set(CMAKE_SYSTEM_NAME "Windows") - set(CMAKE_SYSTEM_PROCESSOR "x86_64") -endif() +set(WINDOWS_EXPORT_ALL_SYMBOLS true) # # Build Vocoder as a Shared Library (dll or so)