Skip to content

Commit 0af2764

Browse files
authored
Only install Boost Regex headers on sourcemeta_core_dev (#1577)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 524815a commit 0af2764

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cmake/FindBoostRegex.cmake

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ if(NOT BoostRegex_FOUND)
151151
install(TARGETS boost_regex
152152
EXPORT boost_regex
153153
PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost"
154-
COMPONENT sourcemeta_core
154+
COMPONENT sourcemeta_core_dev
155155
PRIVATE_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost"
156-
COMPONENT sourcemeta_core
156+
COMPONENT sourcemeta_core_dev
157157
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
158158
COMPONENT sourcemeta_core
159159
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
@@ -163,19 +163,19 @@ if(NOT BoostRegex_FOUND)
163163
COMPONENT sourcemeta_core_dev)
164164
install(FILES ${BOOST_REGEX_PRIVATE_HEADERS_REGEX}
165165
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost/regex"
166-
COMPONENT sourcemeta_core)
166+
COMPONENT sourcemeta_core_dev)
167167
install(FILES ${BOOST_REGEX_PRIVATE_HEADERS_REGEX_CONFIG}
168168
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost/regex/config"
169-
COMPONENT sourcemeta_core)
169+
COMPONENT sourcemeta_core_dev)
170170
install(FILES ${BOOST_REGEX_PRIVATE_HEADERS_REGEX_PENDING}
171171
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost/regex/pending"
172-
COMPONENT sourcemeta_core)
172+
COMPONENT sourcemeta_core_dev)
173173
install(FILES ${BOOST_REGEX_PRIVATE_HEADERS_REGEX_V4}
174174
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost/regex/v4"
175-
COMPONENT sourcemeta_core)
175+
COMPONENT sourcemeta_core_dev)
176176
install(FILES ${BOOST_REGEX_PRIVATE_HEADERS_REGEX_V5}
177177
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/boost/regex/v5"
178-
COMPONENT sourcemeta_core)
178+
COMPONENT sourcemeta_core_dev)
179179
install(EXPORT boost_regex
180180
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/boostregex"
181181
COMPONENT sourcemeta_core_dev)

0 commit comments

Comments
 (0)