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

Commit 6b373af

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 7d9ad98 commit 6b373af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ project(Thrust LANGUAGES NONE)
66

77
# Determine whether Thrust is the top-level project or included into
88
# another project via add_subdirectory()
9-
if (CCCL_TOPLEVEL_PROJECT OR
10-
"${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_LIST_DIR}")
9+
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_LIST_DIR}")
1110
set(THRUST_TOPLEVEL_PROJECT ON)
1211
endif()
1312

0 commit comments

Comments
 (0)