Giter Site home page Giter Site logo

Comments (5)

opengl-tutorial avatar opengl-tutorial commented on August 21, 2024

This is CMake 3 specific. I hesitate between unsupporting CMake 2, and
checking the version...

On Tue, Apr 19, 2016 at 3:53 PM, Marcus Ottosson [email protected]
wrote:

On CMake 2.8.12.2 under Scientific Linux release 6.6 (Carbon), I got this
error message during cmake .. followed by a halt.

CMake Error at CMakeLists.txt:24 (cmake_policy):
Policy "CMP0026" is not known to this version of CMake.

Removing this line successfully got me past the error without any
noticeable side-effects.

On Visual 2005 and above, this module can set the debug working directory# cmake_policy(SET CMP0026 OLD)


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#16

from ogl.

mottosso avatar mottosso commented on August 21, 2024

Do you mean you only support CMake 3, or that the problem only occurs with CMake 3?

from ogl.

ph81323 avatar ph81323 commented on August 21, 2024

hi @mottosso , have you solved the problem yet? I have the same CMake version as you and got the same error as yours.

from ogl.

mottosso avatar mottosso commented on August 21, 2024

Hey @ph81323, yes, as I said, I solved it by removing that line. I'd make a PR for it, but I'm not sure it affects other versions negatively.

from ogl.

ph81323 avatar ph81323 commented on August 21, 2024

Thanks @mottosso , it solved!

from ogl.

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.