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

Update CMakeLists.txt to allow FetchContent to work #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 13, 2022

  1. Update CMakeLists.txt

    make it so the build works when getting this code through CMake's FetchContent command. The previous usage of CMAKE_SOURCE_DIR instead of CMAKE_CURRENT_LIST_DIR caused a build error because it would look for the MyGALConfig.cmake.in inside of your project instead of the _deps/mygal-src/ folder setup by the FetchContent command
    Serinox authored May 13, 2022
    Configuration menu
    Copy the full SHA
    3859065 View commit details
    Browse the repository at this point in the history
  2. Update CMakeLists.txt

    fix a few more instances of CMAKE_SOURCE_DIR that were causing problems.
    Serinox authored May 13, 2022
    Configuration menu
    Copy the full SHA
    3744c48 View commit details
    Browse the repository at this point in the history