Closed mtytel closed 2 months ago
Sigh. OK I wonder if there is a cmake-time way to check the version. The problem is timer.cpp throws a bunch of warnings and errors in older SDKs.
I think you retrieve the vst3 sdk version in cmake earlier. I can make a pull request if you want.
Oh you are correct, we do so about 15 lines above
so a
if (${SDK_VERSION} VERSION_LESS 3.7.9) around that line seems right to me.
If you could do a PR that'd be great, otherwise I can run it through tomorrow.
this looks good for me.
yup all merged. Thanks matt!
If you use a newer (3.7.9) or later vst3 sdk, then the removal of timer.cpp actually breaks the build. It worked for me when I left timer.cpp included with the newer vst3 sdk builds.
https://github.com/free-audio/clap-wrapper/blob/497f40a7580a2f6326fa06691f39aa3d7e0e78a7/cmake/base_sdks.cmake#L137