Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdl2] Add feature samplerate #28554

Merged
merged 2 commits into from
Dec 27, 2022
Merged

[sdl2] Add feature samplerate #28554

merged 2 commits into from
Dec 27, 2022

Conversation

Thomas1664
Copy link
Contributor

Describe the pull request

  • What does your PR fix?

    Adds the feature samplerate and use port libsamplerate instead of system dependency
    Disable finding Git

@@ -40,6 +43,8 @@ vcpkg_cmake_configure(
-DSDL_TEST=OFF
-DSDL_IBUS=OFF
-DSDL_INSTALL_CMAKEDIR="cmake"
-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

macro(CheckLibSampleRate)
if(SDL_LIBSAMPLERATE)
- find_package(SampleRate QUIET)
+ find_package(SampleRate CONFIG REQUIRED)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prevent using CMake module first. Use vcpkg port instead.

@LilyWangLL LilyWangLL added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Dec 27, 2022
@LilyWangLL LilyWangLL added the info:reviewed Pull Request changes follow basic guidelines label Dec 27, 2022
@dan-shaw dan-shaw merged commit 16b7b66 into microsoft:master Dec 27, 2022
@Thomas1664 Thomas1664 deleted the sdl2-deps branch December 27, 2022 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants