From 15749721312a610f22123b53ec55ee788dc29516 Mon Sep 17 00:00:00 2001 From: sin3point14 Date: Fri, 23 May 2025 09:04:27 +0530 Subject: [PATCH] Fix cmake for non top level inclusion --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c596eb52..325941e75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,8 +73,8 @@ if(IPC_TOOLKIT_TOPLEVEL_PROJECT) else() # If this is not the top-level project, we don't want to build tests or Python # bindings. This is useful for projects that use IPC Toolkit as a submodule. - set(IPC_TOOLKIT_BUILD_TESTS OFF CACHE INTERNAL BOOL "Build unit-tests" FORCE) - set(IPC_TOOLKIT_BUILD_PYTHON OFF CACHE INTERNAL BOOL "Build Python bindings" FORCE) + set(IPC_TOOLKIT_BUILD_TESTS OFF CACHE BOOL "Build unit-tests" FORCE) + set(IPC_TOOLKIT_BUILD_PYTHON OFF CACHE BOOL "Build Python bindings" FORCE) endif() if(CMAKE_CUDA_COMPILER)