Skip to content

CMake: use CMAKE_CURRENT_SOURCE_DIR, *not* top-level src dir. Fixes #218#219

Closed
LebedevRI wants to merge 1 commit intomadler:masterfrom
LebedevRI:issue-218
Closed

CMake: use CMAKE_CURRENT_SOURCE_DIR, *not* top-level src dir. Fixes #218#219
LebedevRI wants to merge 1 commit intomadler:masterfrom
LebedevRI:issue-218

Conversation

@LebedevRI
Copy link
Copy Markdown

@LebedevRI LebedevRI commented Feb 7, 2017

This fixes issue #218.
I suspect this also fixes #132

@LebedevRI LebedevRI changed the title CMake: use CMAKE_CURRENT_SOURCE_DIR, top-level src dir. Fixes #218 CMake: use CMAKE_CURRENT_SOURCE_DIR, *not* top-level src dir. Fixes #218 Feb 7, 2017
@LebedevRI
Copy link
Copy Markdown
Author

Ping :)

@jtattermusch
Copy link
Copy Markdown

Can we merge this? I think this is a pretty clear fix for #218 (which I'm pretty sure is an actual bug).

msftphil pushed a commit to microsoft/msix-packaging that referenced this pull request Feb 28, 2018
A bug on the CMakeLists.txt file that zlib provides makes zlib fail to compile when is used via add_subdirectory() by another project. For some reason, this issue only happens for Linux.

There's an already existing open PR since Feb 2017 with the fix (madler/zlib#219). This PR changes the zlib submodule to point to that commit.
@botanegg
Copy link
Copy Markdown

Any news?

@jtattermusch
Copy link
Copy Markdown

@madler can you please advise how to proceed to get this PR merged? The fix has been available for >1 year, it's a trivial change and multiple users have expressed the interest in having this fixed in the discussion. I would be great to see this fixed in the upstream.

@LebedevRI
Copy link
Copy Markdown
Author

@madler ping?

@Vollstrecker Vollstrecker mentioned this pull request Dec 11, 2024
@Neustradamus Neustradamus mentioned this pull request Jan 1, 2025
@madler
Copy link
Copy Markdown
Owner

madler commented Feb 2, 2025

See #1027 .

@madler madler closed this Feb 2, 2025
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.

4 participants