Open Jhe96 opened 5 years ago
Change CMakeLists.txt Line 21
find_package(GLM REQUIRED)
change to
findpackage(/path/to/glm/glm.h)
https://github.com/Microsoft/vcpkg/issues/732#issuecomment-284222259
Note: This works for me in another project. Haven't tested on this one.
I'm going to run it on Android. But I don't know how to modify the cakes. Compiling the current file as it is will result in the following error: Error configuring CMake server (C:\Users\bit\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin). CMake Error at glfw/CMakeLists.txt:21 (find_package): By not providing "FindGLM.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "GLM", but CMake did not find one.
Could not find a package configuration file provided by "GLM" with any of the following names:
Add the installation prefix of "GLM" to CMAKE_PREFIX_PATH or set "GLM_DIR" to a directory containing one of the above files. If "GLM" provides a separate development package or SDK, be sure it has been installed.
In addition, if your Android NDK has a main CMakeFile, I wonder if you need to modify the CMakeFile in this file.