Skip to content

CMake build issues on Apple M2 Pro running Ventura 13.5 macOS #78

@WizzerWorks

Description

@WizzerWorks

I attempted to build using CMake on a Apple M2 Pro laptop running Ventura 13.5 macOS.

I see the following error from build directory

% cmake ..
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is AppleClang 15.0.0.15000040
-- The CXX compiler identification is AppleClang 15.0.0.15000040
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:27 (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:

glmConfig.cmake
glm-config.cmake

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.

-- Configuring incomplete, errors occurred!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions