openglonmetal / MGL

OpenGL 4.6 on Metal
Apache License 2.0
781 stars 30 forks source link

CMake not working #80

Open Lecrapouille opened 6 months ago

Lecrapouille commented 6 months ago

On MacBigSur 11.7.10

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GENERICCODEGEN
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
GLSLANG
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
GLSLANGDEFAULT
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
MACHINEINDEPENDENT
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
OGLCOMPILER
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
OSDEPENDENT
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
SPIRVLIB
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl
SPVREMAPPER
    linked by target "mgl" in directory /Users/quentin/MGL
    linked by target "test_mgl" in directory /Users/quentin/MGL/test_mgl

-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
julcst commented 3 months ago

I got it semi-working using CMake see #78: https://github.com/julcst/mgl