Skip to content
Snippets Groups Projects
Unverified Commit 0f5b2b6f authored by Roman Ondráček's avatar Roman Ondráček
Browse files

CMake: at least one of BUILD_STATIC or BUILD_SHARED must be ON

parent 27f1b0d8
Branches
Tags
No related merge requests found
Pipeline #16463 passed
Pipeline: libiqrf

#16464

    ......@@ -41,6 +41,10 @@ option(BUILD_STATIC "Build static library" OFF)
    option(BUILD_SHARED "Build shared library" ON)
    option(CODE_COVERAGE "Enable coverage reporting" OFF)
    if (NOT BUILD_STATIC AND NOT BUILD_SHARED)
    message(FATAL_ERROR "At least one of BUILD_STATIC or BUILD_SHARED must be ON")
    endif()
    if (BUILD_TESTS)
    add_compile_definitions(BUILD_TESTS=1)
    else ()
    ......
    # libiqrf
    [![Build Status](https://gitlab.iqrf.org/open-source/iqrf-sdk/libiqrf/badges/master/pipeline.svg)](https://gitlab.iqrf.org/open-source/iqrf-sdk/libiqrf/pipelines)
    [![Apache License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENSE)
    [![Apache License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENCE)
    ## Description
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment