Polytonic / Glitter

Dead Simple OpenGL
http://polytonic.github.io/Glitter/
2.46k stars 416 forks source link

CMake Error: does not contain a CMakeLists.txt file #72

Closed NuLL3rr0r closed 3 years ago

NuLL3rr0r commented 3 years ago
$ cmake ..
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:7 (add_subdirectory):
  The source directory

    /home/mamadou/dev/Glitter/Glitter/Vendor/glfw

  does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:12 (add_subdirectory):
  The source directory

    /home/mamadou/dev/Glitter/Glitter/Vendor/assimp

  does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:19 (add_subdirectory):
  The source directory

    /home/mamadou/dev/Glitter/Glitter/Vendor/bullet

  does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/home/mamadou/dev/Glitter/Build/CMakeFiles/CMakeOutput.log".
Polytonic commented 3 years ago

Did you also make sure to clone the submodules?

git clone --recursive https://github.com/Polytonic/Glitter

Or alternately (something like this?):

git submodule init --update
NuLL3rr0r commented 3 years ago

Thank you! I did not read the README thoroughly. Sorry for the inconvenience. I am closing the issue.