Skip to content

Conversation

MalcolmMielle
Copy link
Contributor

@MalcolmMielle MalcolmMielle commented Sep 6, 2021

Added missing dep to THREAD and install targets to be able to invoke the project with

ExternalProject_Add(

    asyncsocketscpp
    GIT_REPOSITORY "https://github.com/eminfedar/async-sockets-cpp.git"
    GIT_TAG "master"

    UPDATE_COMMAND ""
    PATCH_COMMAND ""

    SOURCE_DIR "${CMAKE_SOURCE_DIR}/3rdparty/asyncsocketscpp"
    CMAKE_ARGS -DBuildShared=ON -DBuildExamples=OFF -DCMAKE_INSTALL_PREFIX=${GLOBAL_OUTPUT_PATH}/asyncsocketscpp

    TEST_COMMAND ""
)

or

FetchContent_Declare(

    asyncsocketscpp
    GIT_REPOSITORY "https://github.com/MalcolmMielle/async-sockets-cpp.git"
    GIT_TAG "install_cmake"
)
FetchContent_MakeAvailable(asyncsocketscpp)

@eminfedar eminfedar merged commit e261b5c into eminfedar:master Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants