Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit bfe591e

Browse files
committed
Move dev build toggle to the cccl project level.
This allows the install rules to be generated for all projects even when the dev builds are disabled.
1 parent 1d94385 commit bfe591e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ project(CUB LANGUAGES NONE)
77

88
# Determine whether CUB is the top-level project or included into
99
# another project via add_subdirectory().
10-
if (CCCL_TOPLEVEL_PROJECT OR
11-
"${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_LIST_DIR}")
10+
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_LIST_DIR}")
1211
set(CUB_TOPLEVEL_PROJECT ON)
1312
endif ()
1413

0 commit comments

Comments
 (0)