mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Wddm interface [5/n]: cmake improvements to find all existing source files
Change-Id: I2f3f004b964f472085a1f036b40f0552489ac288
This commit is contained in:
@@ -74,7 +74,12 @@ set(RUNTIME_SRCS_OS_INTERFACE_WINDOWS
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_OS_INTERFACE_WINDOWS})
|
||||
file(GLOB RUNTIME_SRCS_WDDM_INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/wddm/wddm2[0-9]\.*")
|
||||
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE
|
||||
${RUNTIME_SRCS_OS_INTERFACE_WINDOWS}
|
||||
${RUNTIME_SRCS_WDDM_INTERFACE}
|
||||
)
|
||||
endif()
|
||||
|
||||
add_subdirectories()
|
||||
|
||||
Reference in New Issue
Block a user