mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [mesos] akornatskyy commented on a change in pull request #361: Added ability to specify a root dir for boost-libs and curl.
Date Tue, 28 Apr 2020 15:31:35 GMT

akornatskyy commented on a change in pull request #361:
URL: https://github.com/apache/mesos/pull/361#discussion_r416710336



##########
File path: 3rdparty/CMakeLists.txt
##########
@@ -696,7 +701,16 @@ if (ENABLE_SECCOMP_ISOLATOR)
       URL               ${LIBSECCOMP_URL}
       URL_HASH          ${LIBSECCOMP_HASH})
   else ()
-    find_package(LIBSECCOMP REQUIRED)
+    if ("${LIBSECCOMP_ROOT_DIR}" STREQUAL "")
+      find_package(LIBSECCOMP REQUIRED)
+    else ()
+      set(POSSIBLE_LIBSECCOMP_INCLUDE_DIRS ${LIBSECCOMP_ROOT_DIR}/include)
+      set(POSSIBLE_LIBSECCOMP_LIB_DIRS ${LIBSECCOMP_ROOT_DIR}/lib)
+
+      set(LIBSECCOMP_LIBRARY_NAMES seccomp)
+
+      FIND_PACKAGE_HELPER(LIBSECCOMP seccomp.h)
+    endif ()

Review comment:
       yes, done. checked.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message