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

[tgui] Enable static build #5568

Merged
merged 2 commits into from
Mar 6, 2019
Merged

[tgui] Enable static build #5568

merged 2 commits into from
Mar 6, 2019

Conversation

tntxtnt
Copy link
Contributor

@tntxtnt tntxtnt commented Mar 6, 2019

As @tstavrianos suggested:
#5524 (comment)

This appears to fail for x64-windows-static.
Adding to the portfile:
file(REMOVE ${SOURCE_PATH}/cmake/Modules/FindSFML.cmake)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" TGUI_SHARED_LIBS)
just before vcpkg_configure_cmake
and adding -DTGUI_SHARED_LIBS=${TGUI_SHARED_LIBS} to the options in vcpkg_configure_cmake allows it to build.

@Rastaban Rastaban merged commit 2e8c0ca into microsoft:master Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants