diff --git a/CHANGELIST.md b/CHANGELIST.md index de85fb5..9b846b9 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -1,5 +1,8 @@ # pluginval Change List +### 1.0.5 +- Added static linking to the Windows runtime so it should run on more Windows systems (particularly non-dev machines) + ### 1.0.4 - Limit auval's stress test to 20 seconds (vs 600) [#135] - Fixed incorrect "ALL TESTS PASSED" message when validating out of process [#125] diff --git a/CMakeLists.txt b/CMakeLists.txt index 60371b2..400f890 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,14 @@ target_compile_definitions(pluginval PRIVATE JUCE_GUI_BASICS_INCLUDE_XHEADERS=1 VERSION="${CURRENT_VERSION}") +if(MSVC) + # Statically link the runtime libraries + target_compile_options(pluginval PRIVATE + $<$:/MT> + $<$:/MTd> + $<$:/MT>) +endif() + target_link_libraries(pluginval PRIVATE juce::juce_audio_devices juce::juce_audio_processors