File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ project(SPIRV-Headers VERSION 1.5.5)
44
44
# 2. cmake ..
45
45
# 3. cmake --build . --target install
46
46
47
- # legacy
48
- add_custom_target (install -headers
49
- COMMAND cmake -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR} /include/spirv
50
- $ENV{DESTDIR} ${CMAKE_INSTALL_PREFIX} /include/spirv )
51
-
52
47
option (SPIRV_HEADERS_SKIP_EXAMPLES "Skip building examples"
53
48
${SPIRV_HEADERS_SKIP_EXAMPLES} )
54
49
@@ -61,6 +56,10 @@ endif()
61
56
62
57
if (NOT ${SPIRV_HEADERS_SKIP_INSTALL} )
63
58
set (SPIRV_HEADERS_ENABLE_INSTALL ON )
59
+ # legacy
60
+ add_custom_target (install -headers
61
+ COMMAND cmake -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR} /include/spirv
62
+ $ENV{DESTDIR} ${CMAKE_INSTALL_PREFIX} /include/spirv )
64
63
endif ()
65
64
66
65
if (SPIRV_HEADERS_ENABLE_EXAMPLES )
You can’t perform that action at this time.
0 commit comments