Skip to content

Commit eb3f58c

Browse files
committed
Specify COMPONENT for headers, use 'install(TARGETS ...' rather than
'install(HEADERS ...'.
1 parent e820a82 commit eb3f58c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orc-rt/include/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ target_include_directories(orc-rt-headers INTERFACE
1111
set_property(TARGET orc-rt-headers
1212
PROPERTY PUBLIC_HEADER ${ORC_RT_HEADERS}
1313
)
14-
install(DIRECTORY ./
14+
install(TARGETS orc-rt-headers
1515
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/
16-
FILES_MATCHING PATTERN "*.h"
16+
COMPONENT OrcRT_Development
1717
)

0 commit comments

Comments
 (0)