Skip to content

Commit 195229d

Browse files
authored
fix: update CMakeLists.txt to cache profile and testing options for Linux builds (alibaba#2393)
1 parent 66342b3 commit 195229d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

core/_thirdparty/coolbpf

Submodule coolbpf updated from c650063 to 96b7356

core/ebpf/driver/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ cmake_minimum_required(VERSION 3.22)
1616
project(driver)
1717

1818
if (LINUX)
19-
set(ENABLE_PROFILE OFF)
20-
set(BUILD_TESTING OFF)
19+
set(ENABLE_PROFILE OFF CACHE BOOL "Enable profile" FORCE)
20+
set(BUILD_TESTING OFF CACHE BOOL "Build test cases" FORCE)
2121
set(CMAKE_INSTALL_PREFIX ${DEFAULT_DEPS_ROOT})
2222

2323
# Save the original C flags

0 commit comments

Comments
 (0)