-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[openal-soft] Remove removing macro in dynamic triplets #20310
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one portfile where deprecated functions are used.
If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake
-> vcpkg_cmake_install
(from port vcpkg-cmake
)
vcpkg_build_cmake
-> vcpkg_cmake_build
(from port vcpkg-cmake
)
vcpkg_configure_cmake
-> vcpkg_cmake_configure
(Please remove the option PREFER_NINJA
) (from port vcpkg-cmake
)
vcpkg_fixup_cmake_targets
-> vcpkg_cmake_config_fixup
(from port vcpkg-cmake-config
)
In the ports that use the new function, you have to add the corresponding dependencies:
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
The following files are affected:
ports/openal-soft/portfile.cmake
Dropping reviewed: this is ready to land as far as I'm concerned but I would like @DanielGibson and/or @HarrievG to confirm that their bug is actually fixed before merging. |
checking dhewm3's dedicated build with VCPKG/CMAKE right now. |
@@ -80,7 +80,10 @@ foreach(HEADER al.h alc.h) | |||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | |||
string(REPLACE "defined(AL_LIBTYPE_STATIC)" "1" AL_H "${AL_H}") | |||
else() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you want to keep the empty if case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably to put the comment in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the empty else() is to indicate that we didn't forget and it is intentional.
Fix Confirmed (x64-windows) |
As the issue reporters reported that this fixes it, landed. |
Add workaround suggested by Robert in #18098