Skip to content

Commit

Permalink
More win
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Jun 10, 2024
1 parent a314dab commit da44591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/clap-first-example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ project(clap-first-distortion)

add_library(clap-first-distortion-base STATIC distortion_clap.cpp)
target_link_libraries(clap-first-distortion-base PUBLIC clap)
target_compile_options(clap--first-distortion-base PRIVATE _USE_MATH_DEFINES=1)

add_library(${PROJECT_NAME} MODULE
distortion_clap_entry.cpp
Expand Down
4 changes: 2 additions & 2 deletions tests/clap-first-example/distortion_clap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ bool c99dist_state_load(const clap_plugin_t *plugin, const clap_istream_t *strea

return true;
}
static const clap_plugin_state_t s_c99dist_state = {.save = c99dist_state_save,
.load = c99dist_state_load};
static const clap_plugin_state_t s_c99dist_state = {c99dist_state_save,
c99dist_state_load};

/////////////////
// clap_plugin //
Expand Down

0 comments on commit da44591

Please sign in to comment.