Giter Site home page Giter Site logo

Comments (6)

ryanwinter avatar ryanwinter commented on August 23, 2024 1

Sounds great! I replaced it with a semicolon and this worked for me.

from cpm.cmake.

TheLartians avatar TheLartians commented on August 23, 2024 1

Oh thats great to know! the semicolon is an easy fix as it seems to work with unix bash shells as well. Version 0.19 is released and now uses semicolons instead of colons!

from cpm.cmake.

TheLartians avatar TheLartians commented on August 23, 2024 1

I was a bit too hasty about this fix, as it turns out ";" resolves into nothing in CMake (";" is used as a list element separator) and the download step is actually not disabled anymore. This means that offline packages will not work anymore. I've removed the release and will look for another fix. Sorry.

from cpm.cmake.

ryanwinter avatar ryanwinter commented on August 23, 2024 1

Thanks Lars! I'll test it out.

from cpm.cmake.

TheLartians avatar TheLartians commented on August 23, 2024

Hey thanks for the bug report! It would be great to have the CPM_SOURCE_CACHE work on windows as well. On unix systems, the colon (:) operator means "do nothing", which is the only way I know of to deactivate the download step in CMake. I'll try to find a cross-platform solution.

from cpm.cmake.

TheLartians avatar TheLartians commented on August 23, 2024

So that was more difficult than expected. v0.20 should now work offline and on all systems. 🎉

from cpm.cmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.