From 33e89940992f7069bce02c18c52d4e06116f0408 Mon Sep 17 00:00:00 2001 From: Parvez Shaikh Date: Thu, 5 Dec 2024 16:21:10 -0800 Subject: [PATCH] define CHENAB_SAI_SDK while building FBOSS for CHENAB sdk Summary: as titled this is to indicate the build is using CHENAB_SAI_SDK implementation Reviewed By: srikrishnagopu Differential Revision: D66845304 fbshipit-source-id: 8ed546350f6c549b8e5ba1120ebb25913f3e1816 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89844019420e4..67434c7bfd8cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,7 @@ if ($ENV{CHENAB_SAI_SDK}) set (CHENAB_SAI_SDK ON) link_directories(/var/FBOSS/sai_impl/lib) link_directories(/var/FBOSS/sdk/usr/lib64) + add_definitions (-DCHENAB_SAI_SDK) endif() option(BUILD_SAI_FAKE_LINK_TEST "Building of SAI Fake Link Test binaries" OFF)