taskwarrior2: fix build with cmake>=4#450177
Conversation
|
Thanks for your efforts, @bjornfor! Please be aware of the recommendations offered in #445447 (especially point 3 at the top, further explained in @LordGrimmauld’s comment). |
|
Thanks for the pointers, @panchoh! taskwarrior2 isn't updated anymore (the current stable is 3.x), so I think cmakeFlag is OK. BTW, I looked at making a patch/substituteInPlace, but it seems I have to add a new line somewhere in CMakeLists.txt with [1] I first tried changing |
Ah, that alone clears it 👍
Thanks for the clarification, and for the thorough job 🙏! |
|
Thanks! (I wondered why it didn't work for me after changing the entry in the root file -- didn't think of the possibility to have it more than once. Why would anyone have that directive more than once in a repo though?) |
i didn't look at the exact reason in taskwarrior - prusa slicer has a similar situation going on, over there the reason is vendored deps having their own cmake files. Which (by logic of being vendored) use whatever cmake things upstream-upstream defined. In the case of taskwarrior, this is probably not actually vendor deps, but there is legitimate scenarios. |

Things done
Fix build by adding cmake flag.
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.