mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
version.cmake improvements
- dynamically calculate NEO_DRIVER_VERSION for non-UNIX - remove fixed NEO_DRIVER_VERSION from main cmake file Change-Id: Ifab6182b1895086c1399f70112a4c9ad4cc66a0f Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
64277ee849
commit
cb44a28f8e
@ -409,10 +409,6 @@ option(HAVE_TBX_SERVER "Compile TBX server from TbxAccess library" OFF)
|
||||
option(USE_CL_CACHE "Use OpenCL program binary cache" ON)
|
||||
set(CL_CACHE_LOCATION "cl_cache" CACHE STRING "OpenCL program binary cache location")
|
||||
|
||||
if(NOT NEO_DRIVER_VERSION)
|
||||
set(NEO_DRIVER_VERSION 1.0)
|
||||
endif()
|
||||
|
||||
# Put profiling enable flag into define
|
||||
if(OCL_RUNTIME_PROFILING)
|
||||
add_definitions(-DOCL_RUNTIME_PROFILING=${OCL_RUNTIME_PROFILING})
|
||||
|
Reference in New Issue
Block a user