Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 730e98f

Browse files
sin3point14zfergus
authored andcommitted
Fix cmake for non top level inclusion
1 parent afd7559 commit 730e98f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ if(IPC_TOOLKIT_TOPLEVEL_PROJECT)
7373
else()
7474
# If this is not the top-level project, we don't want to build tests or Python
7575
# bindings. This is useful for projects that use IPC Toolkit as a submodule.
76-
set(IPC_TOOLKIT_BUILD_TESTS OFF CACHE INTERNAL BOOL "Build unit-tests" FORCE)
77-
set(IPC_TOOLKIT_BUILD_PYTHON OFF CACHE INTERNAL BOOL "Build Python bindings" FORCE)
76+
set(IPC_TOOLKIT_BUILD_TESTS OFF CACHE BOOL "Build unit-tests" FORCE)
77+
set(IPC_TOOLKIT_BUILD_PYTHON OFF CACHE BOOL "Build Python bindings" FORCE)
7878
endif()
7979

8080
if(CMAKE_CUDA_COMPILER)

0 commit comments

Comments
 (0)