Skip to content

Do not override WINE_INCLUDE_DIRS if already set#1

Open
30350n wants to merge 1 commit into
M0n7y5:masterfrom
30350n:do-not-override-wineincludedirs
Open

Do not override WINE_INCLUDE_DIRS if already set#1
30350n wants to merge 1 commit into
M0n7y5:masterfrom
30350n:do-not-override-wineincludedirs

Conversation

@30350n

@30350n 30350n commented Jun 12, 2026

Copy link
Copy Markdown

Hi, I'm currently looking into packaging this for NixOS!

To do this I need to override WINE_INCLUDE_DIRS to a set of custom paths, which is currently not possible without directly patching WineDLL.cmake. This PR makes it so that the _wine_inc_candidates only get checked if WINE_INCLUDE_DIRS hasn't already been specified via a cmake flag (i.e. -DWINE_INCLUDE_DIRS=/nix/store/<...>-wine64-11.0/include/wine;/nix/store/<...>-wine64-11.0/include/wine/windows).

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.

1 participant