File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.10 ...3.22 FATAL_ERROR )
1
+ cmake_minimum_required (VERSION 3.21 ...3.22 FATAL_ERROR )
2
2
3
3
project (
4
4
"libDPCTLSYCLInterface"
5
+ LANGUAGES C CXX
5
6
DESCRIPTION "A C API for a subset of SYCL"
6
7
)
7
8
@@ -260,10 +261,12 @@ endif()
260
261
# Install all headers
261
262
262
263
file (GLOB MAIN_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/*.h" )
263
- file (GLOB MAIN_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/*.hpp" )
264
+ file (GLOB MAIN_CXX_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/*.hpp" )
264
265
file (GLOB SUPPORT_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/Support/*.h" )
265
266
file (GLOB CONFIG_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/Config/*.h" )
266
267
268
+ message (STATUS "++++++++++ MAIN_CXX_HEADERS: ${MAIN_CXX_HEADERS} " )
269
+
267
270
set_target_properties (DPCTLSyclInterface
268
271
PROPERTIES PUBLIC_HEADER
269
272
"${MAIN_HEADERS} "
@@ -288,6 +291,10 @@ install(TARGETS
288
291
PUBLIC_HEADER
289
292
DESTINATION ${_include_destination}
290
293
)
294
+ install (
295
+ FILES ${MAIN_CXX_HEADERS}
296
+ DESTINATION ${_include_destination} /_cxx
297
+ )
291
298
install (
292
299
FILES ${SUPPORT_HEADERS}
293
300
DESTINATION ${_include_destination} /Support
You can’t perform that action at this time.
0 commit comments