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)
22
33project (
44 "libDPCTLSYCLInterface"
5+ LANGUAGES C CXX
56 DESCRIPTION "A C API for a subset of SYCL"
67)
78
@@ -260,10 +261,12 @@ endif()
260261# Install all headers
261262
262263file (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" )
264265file (GLOB SUPPORT_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/Support/*.h" )
265266file (GLOB CONFIG_HEADERS "${CMAKE_CURRENT_SOURCE_DIR} /include/Config/*.h" )
266267
268+ message (STATUS "++++++++++ MAIN_CXX_HEADERS: ${MAIN_CXX_HEADERS} " )
269+
267270set_target_properties (DPCTLSyclInterface
268271 PROPERTIES PUBLIC_HEADER
269272 "${MAIN_HEADERS} "
@@ -288,6 +291,10 @@ install(TARGETS
288291 PUBLIC_HEADER
289292 DESTINATION ${_include_destination}
290293)
294+ install (
295+ FILES ${MAIN_CXX_HEADERS}
296+ DESTINATION ${_include_destination} /_cxx
297+ )
291298install (
292299 FILES ${SUPPORT_HEADERS}
293300 DESTINATION ${_include_destination} /Support
You can’t perform that action at this time.
0 commit comments