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

Use PROJECT_SOURCE_DIR for cmake include_directories #471

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use PROJECT_SOURCE_DIR for cmake include_directories #471

wants to merge 1 commit into from

Commits on Feb 4, 2020

  1. Use PROJECT_SOURCE_DIR for cmake include_directories

    The current usage of the CMAKE_SOURCE_DIR variable causes build breaks
    when compiling zlib in a subdirectory of the CMake tree. Instead of
    using CMAKE_SOURCE_DIR, we can use PROJECT_SOURCE_DIR to represent the
    root directory of where the ZLIB cmake project was declared.
    
    Note, this removes the need to special case include directories for
    MSVC.
    Matt Schulte committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    e45869f View commit details
    Browse the repository at this point in the history