Skip to content

Commit

Permalink
Trying to fix MSVC issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Jul 7, 2023
1 parent 2967710 commit 53668a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/RTNeural
Submodule RTNeural updated 381 files
2 changes: 1 addition & 1 deletion modules/clap-juce-extensions
2 changes: 1 addition & 1 deletion modules/cmake/ConfigFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_library(config_flags INTERFACE)

if((CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") OR (CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "MSVC"))
target_compile_options(juce_recommended_config_flags INTERFACE
$<IF:$<CONFIG:Debug>,/Od /Zi, /O2 /fp:fast> $<$<STREQUAL:"${CMAKE_CXX_COMPILER_ID}","MSVC">:/MP> /EHsc /Zc:__cplusplus)
$<IF:$<CONFIG:Debug>,/Od /Zi, /O2 /fp:fast> $<$<STREQUAL:"${CMAKE_CXX_COMPILER_ID}","MSVC">:/MP> /EHsc)
elseif((CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
OR (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
OR (CMAKE_CXX_COMPILER_ID STREQUAL "GNU"))
Expand Down
2 changes: 1 addition & 1 deletion src/state/presets/PresetDiscovery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct FactoryPresetsProvider
#endif
{
static constexpr clap_preset_discovery_provider_descriptor descriptor {
.clap_version = CLAP_VERSION,
.clap_version = CLAP_VERSION_INIT,
.id = "org.chowdsp.byod.factory-presets",
.name = "BYOD Factory Presets Provider",
.vendor = "ChowDSP"
Expand Down

0 comments on commit 53668a6

Please sign in to comment.