Skip to content

Surprising dependency on WolfSSL and OpenSSL #183

@akrzemi1

Description

@akrzemi1

When following instructions in README.md:

include(FetchContent)
FetchContent_Declare(corosio
    GIT_REPOSITORY https://github.com/cppalliance/corosio.git
    GIT_TAG develop
    GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(corosio)

target_link_libraries(my_app Boost::corosio)

I get the following error:

-- Fetching capy...
-- Could NOT find WolfSSL (missing: WolfSSL_INCLUDE_DIR WolfSSL_LIBRARY)
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Error at CMakeLists.txt:30 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "capy_test".  All uses of target_link_libraries with a target
  must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * CMakeLists.txt:29 (target_link_libraries)



-- Configuring incomplete, errors occurred!
gmake: *** [Makefile:272: cmake_check_build_system] Error 1

Apparently, there is an undocumented dependency on WolfSSL and OpenSSL, and the instructions fail to account for them.

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