File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ set(BASE_SOURCES
197
197
src/TVirtualX.cxx
198
198
)
199
199
200
+ set (FULL_BASE_HEADERS ${BASE_HEADERS} )
201
+ list (TRANSFORM FULL_BASE_HEADERS PREPEND ${CMAKE_CURRENT_SOURCE_DIR} /inc/)
202
+
200
203
if (root7)
201
204
set (BASE_HEADER_DIRS inc/ v7/inc/)
202
205
list (APPEND BASE_HEADERS
@@ -209,6 +212,21 @@ set_property(TARGET Core APPEND PROPERTY DICT_HEADERS ${BASE_HEADERS})
209
212
210
213
target_sources (Core PRIVATE ${BASE_SOURCES} )
211
214
215
+ if (NOT CMAKE_VERSION VERSION_LESS "3.23.0" ) # https://discourse.cmake.org/t/file-set-xyz-is-listed-in-interface-file-sets-of-w-but-has-not-been-exported/9131/3
216
+ target_sources (
217
+ Core
218
+ PRIVATE
219
+ FILE_SET private_header_files
220
+ TYPE HEADERS
221
+ BASE_DIRS inc/ src/ v7/inc/
222
+ FILES
223
+ ${CMAKE_CURRENT_SOURCE_DIR} /src/TListOfTypes.h
224
+ ${FULL_BASE_HEADERS}
225
+ ${CMAKE_CURRENT_SOURCE_DIR} /v7/inc/ROOT/RFloat16.hxx
226
+ ${CMAKE_CURRENT_SOURCE_DIR} /v7/inc/ROOT/RIndexIter.hxx
227
+ )
228
+ endif ()
229
+
212
230
target_include_directories (Core PUBLIC
213
231
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /inc>
214
232
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /v7/inc>
You can’t perform that action at this time.
0 commit comments