Skip to content

Commit

Permalink
CMake: Update default sources for 3rd-party libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrogario authored and Smjert committed Aug 25, 2019
1 parent b29568c commit 8bf0cd6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions cmake/options.cmake
Expand Up @@ -69,8 +69,15 @@ option(OSQUERY_NO_DEBUG_SYMBOLS "Whether to build without debug symbols or not,

option(BUILD_TESTING "Whether to enable and build tests or not")

# TODO: Revert this to 'facebook' before we merge!
set(OSQUERY_THIRD_PARTY_SOURCE "source;pre-built;facebook" CACHE STRING "Sources used to acquire third-party dependencies")
# Linux can use source and pre-built modules to link dependencies; this
# feature is not yet available on Windows and macOS
if(DEFINED PLATFORM_LINUX)
set(third_party_source_list "source;pre-built;facebook")
else()
set(third_party_source_list "facebook")
endif()

set(OSQUERY_THIRD_PARTY_SOURCE "${third_party_source_list}" CACHE STRING "Sources used to acquire third-party dependencies")

# This is the default S3 storage used by Facebook to store 3rd party dependencies; it
# is provided here as a configuration option
Expand Down

0 comments on commit 8bf0cd6

Please sign in to comment.