77 "${PROJECT_SOURCE_DIR} /include/" # our header files
88 "${PROJECT_BINARY_DIR} /include/" # generated header files
99 DESTINATION "${CMAKE_INSTALL_INCLUDEDIR} "
10- COMPONENT ${package_name} -development
10+ COMPONENT ${package_name} _development
1111 # PATTERN "**/third_party" EXCLUDE # skip third party directory
1212 # PATTERN "**/third_party/**" EXCLUDE # skip third party files
1313)
@@ -18,12 +18,12 @@ install(
1818 TARGETS ${target_name}
1919 EXPORT ${package_name} -targets
2020 RUNTIME #
21- COMPONENT ${package_name} -runtime
21+ COMPONENT ${package_name} _runtime
2222 LIBRARY #
23- COMPONENT ${package_name} -runtime
24- NAMELINK_COMPONENT ${package_name} -development
23+ COMPONENT ${package_name} _runtime
24+ NAMELINK_COMPONENT ${package_name} _development
2525 ARCHIVE #
26- COMPONENT ${package_name} -development
26+ COMPONENT ${package_name} _development
2727 INCLUDES #
2828 DESTINATION "${CMAKE_INSTALL_INCLUDEDIR} "
2929)
@@ -39,7 +39,7 @@ configure_file(
3939install (
4040 FILES "${PROJECT_BINARY_DIR} /cmake/${package_name} -config.cmake"
4141 DESTINATION "${CPPTRACE_INSTALL_CMAKEDIR} "
42- COMPONENT ${package_name} -development
42+ COMPONENT ${package_name} _development
4343)
4444
4545# create version file for consumer to check version in CMake
@@ -52,15 +52,15 @@ write_basic_package_version_file(
5252install (
5353 FILES "${PROJECT_BINARY_DIR} /${package_name} -config-version.cmake"
5454 DESTINATION "${CPPTRACE_INSTALL_CMAKEDIR} "
55- COMPONENT ${package_name} -development
55+ COMPONENT ${package_name} _development
5656)
5757
5858# create targets file included by config file with targets for consumers
5959install (
6060 EXPORT ${package_name} -targets
6161 NAMESPACE cpptrace::
6262 DESTINATION "${CPPTRACE_INSTALL_CMAKEDIR} "
63- COMPONENT ${package_name} -development
63+ COMPONENT ${package_name} _development
6464)
6565
6666if (CPPTRACE_PROVIDE_EXPORT_SET)
0 commit comments