mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
do not generate igc.config.h when igc-opencl package was found
this file will be provided by IGC development package when present. We should generate it only for other cases Change-Id: Ic11f8c74e4f0a4575b654d0afdfa7336e1fdc7d6 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
50c31872d8
commit
6540a9c96b
@@ -582,6 +582,8 @@ endif(EXISTS ${IGDRCL_SOURCE_DIR}/../internal)
|
||||
include(package.cmake)
|
||||
|
||||
configure_file(config.h.in ${IGDRCL_BUILD_DIR}/config.h)
|
||||
configure_file(igc.opencl.h.in ${IGDRCL_BUILD_DIR}/igc.opencl.h)
|
||||
if(NOT IGDRCL__IGC_FOUND)
|
||||
configure_file(igc.opencl.h.in ${IGDRCL_BUILD_DIR}/igc.opencl.h)
|
||||
endif()
|
||||
configure_file(driver_version.h.in ${IGDRCL_BUILD_DIR}/driver_version.h) # Put Driver version into define
|
||||
configure_file(lib_names.h.in ${IGDRCL_BUILD_DIR}/lib_names.h)
|
||||
|
||||
Reference in New Issue
Block a user