Skip to content

Store result of try compile in cache variable? #96

@jdumas

Description

@jdumas

Hi,

Those try_compile are quite expensive to re-run each time CMake is called:

try_compile(HAVE_PTHREAD_MUTEX_ROBUST

It would be better to store the result in a CACHE variable (using a prefix to avoid collisions), to speed up project reconfiguration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions