Skip to content

How to use the cppm module in a CMake project? #1372

@ichlubna

Description

@ichlubna

I use the standard inclusion as:

find_package(glm REQUIRED)
...
target_link_libraries(${PROJECT_NAME}  glm)

But when I use import glm; I get:
fatal error: unknown compiled module interface: no such module

I cannot find instructions about the usage of the module version of glm anywhere, although people seem to be already using it, for example at #1298 or #1260. I'd appreciate any guidance. Thanks!

Metadata

Metadata

Assignees

No one assigned

    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