You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2018/10/05 10:48:34 UTC

[mesos] branch master updated: Fixed unbundled libevent linkage for CMake builds.

This is an automated email from the ASF dual-hosted git repository.

tillt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new f72d770  Fixed unbundled libevent linkage for CMake builds.
f72d770 is described below

commit f72d7705b2e67f5443141a656e4ad90cb394af6f
Author: Jan Schlicht <ja...@mesosphere.io>
AuthorDate: Fri Oct 5 12:47:10 2018 +0200

    Fixed unbundled libevent linkage for CMake builds.
    
    Using CMake with an unbundled libevent resulted in a configuration
    error, because the libevent target wasn't defined.
    
    Review: https://reviews.apache.org/r/68936/
---
 3rdparty/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt
index 05cbb03..9584f53 100644
--- a/3rdparty/CMakeLists.txt
+++ b/3rdparty/CMakeLists.txt
@@ -587,6 +587,7 @@ if (ENABLE_LIBEVENT)
       URL_HASH          ${LIBEVENT_HASH})
   else ()
     find_package(LIBEVENT REQUIRED)
+    add_library(libevent INTERFACE)
 
     foreach (lib ${LIBEVENT_LIBS})
       get_filename_component(LIBEVENT_LIB ${lib} NAME_WE)