Skip to content

CMake: Make tests optional #308

@robiwano

Description

@robiwano

Enclose the example executables example/example64 with

option(ZLIB_ENABLE_TESTS "Set to ON to enable the ZLIB tests" OFF)
if (ZLIB_ENABLE_TESTS)
... add tests here ...
endif ()

otherwise those tests are included in projects that use zlib via submodule and CMake.

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