Skip to content

Add variable to facilitate test for any BSD deriviative #138

@jcfr

Description

@jcfr
+if(CMAKE_SYSTEM MATCHES BSD)  # Any BSD deriviative
+    set(BSD ON)
+else()
+    set(BSD OFF)
+endif()
+

See https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/136/files#r67463413

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions