fixes for cmake building on windows

This commit is contained in:
Jesse Chappell
2022-04-19 17:45:56 -04:00
parent 7e71997593
commit b5492f2f60
7 changed files with 544 additions and 31 deletions

View File

@ -220,9 +220,11 @@ function(sono_add_custom_plugin_target target_name product_name formats is_instr
endif()
list (APPEND PLAT_COMPILE_DEFS
JUCE_MODAL_LOOPS_PERMITTED
_USE_MATH_DEFINES
WINVER=0x0601
_WIN32_WINNT=0x0601)
_WIN32_WINNT=0x0601
NOMINMAX)
else()
# Linux
list (APPEND PlatSourceFiles Source/CrossPlatformUtilsLinux.cpp)
@ -265,7 +267,6 @@ function(sono_add_custom_plugin_target target_name product_name formats is_instr
Source/PS_Source/StretchSource.cpp
Source/PS_Source/Player.h
Source/PS_Source/globals.h
Source/PS_Source/globals.cpp
Source/PS_Source/Stretch.cpp
Source/PS_Source/FreeEdit.h
Source/PS_Source/FreeEdit.cpp