-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[elements] Update port #38188
base: master
Are you sure you want to change the base?
[elements] Update port #38188
Conversation
0e5f4cf
to
4063f9f
Compare
config-x64-windows-out.log:
How do I add pkg-config to the build? 🤔 |
vcpkg_find_acquire_program(PKGCONFIG)
...
vcpkg_cmake_configure(...
OPTIONS
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
) |
@ex-purple Could you please apply dg0yt's comment to fix the error in CI? |
Done I have no idea what is a problem now |
|
What does it mean? |
-add_library(elements STATIC) | ||
+add_library(elements) |
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.
Is building statically an upstream setting, so are they okay with the modifications here?
) | ||
|
||
vcpkg_cmake_build() | ||
|
||
file(INSTALL "${SOURCE_PATH}/lib/include/elements.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(INSTALL "${SOURCE_PATH}/lib/include/elements" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(INSTALL "${SOURCE_PATH}/lib/infra/include/infra" DESTINATION "${CURRENT_PACKAGES_DIR}/include") | ||
file(INSTALL "${SOURCE_PATH}/resources" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") |
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.
What are the files in resources
folder used for?
HEAD_REF master | ||
PATCHES | ||
asio-headers.patch | ||
win-find-libraries.patch |
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.
If this patch is no longer needed, please remove the files accordingly.
./vcpkg x-add-version --all
and committing the result.