1
0
Fork 0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-06-08 12:36:07 +02:00

Switched cmake to use system libraries for build procedure to offer better developer experience

This commit is contained in:
Pavel Odintsov 2023-01-16 13:10:27 +00:00
parent ef7f8725cd
commit e8e6db2f8f
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ option(LINK_WITH_ABSL "Enable optonal linking with ABSL" OFF)
# We need to add it into include path as gRPC uses it include path
include_directories("${ABSL_INSTALL_PATH}/include")
option(DO_NOT_USE_SYSTEM_LIBRARIES_FOR_BUILD "Disables use of libraries from system path" ON)
option(DO_NOT_USE_SYSTEM_LIBRARIES_FOR_BUILD "Disables use of libraries from system path" OFF)
if (DO_NOT_USE_SYSTEM_LIBRARIES_FOR_BUILD)
# We need to avoid using system path for libraries and includes search because we ship specific versions of our own libraries in package

View File

@ -347,7 +347,7 @@ sub install_fastnetmon {
exec_command("mkdir -p $fastnetmon_code_dir/build");
chdir "$fastnetmon_code_dir/build";
my $cmake_params = "";
my $cmake_params = "-DDO_NOT_USE_SYSTEM_LIBRARIES_FOR_BUILD=ON";
# Test that atomics build works as expected