Skip to content

Commit 1470ad8

Browse files
committed
move top-level target def
1 parent d08c5de commit 1470ad8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libclc/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
55
endif()
66
set(LLVM_SUBPROJECT_TITLE "libclc")
77

8-
# Top level target used to build all Libclc libraries.
9-
add_custom_target( libclc ALL )
10-
118
set(CMAKE_CXX_STANDARD 17)
129

1310
# Add path for custom modules
@@ -45,6 +42,9 @@ set( LIBCLC_TARGETS_TO_BUILD "all"
4542

4643
option( ENABLE_RUNTIME_SUBNORMAL "Enable runtime linking of subnormal support." OFF )
4744

45+
# Top level target used to build all Libclc libraries.
46+
add_custom_target( libclc ALL )
47+
4848
add_custom_target( libclc-opencl-builtins COMMENT "Build libclc OpenCL builtins" )
4949
add_dependencies( libclc libclc-opencl-builtins )
5050

0 commit comments

Comments
 (0)