mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
fix: add __user and __packed empty definitions
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f764b6b126
commit
fefda13a6e
@@ -158,9 +158,7 @@ add_definitions(
|
|||||||
-DCL_USE_DEPRECATED_OPENCL_2_2_APIS
|
-DCL_USE_DEPRECATED_OPENCL_2_2_APIS
|
||||||
)
|
)
|
||||||
|
|
||||||
if(UNIX)
|
add_definitions(-D__user= -D__packed=)
|
||||||
add_definitions(-D__user= -D__packed=)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS_RELEASEINTERNAL "${CMAKE_C_FLAGS_RELEASE}")
|
set(CMAKE_C_FLAGS_RELEASEINTERNAL "${CMAKE_C_FLAGS_RELEASE}")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASEINTERNAL "${CMAKE_CXX_FLAGS_RELEASE}")
|
set(CMAKE_CXX_FLAGS_RELEASEINTERNAL "${CMAKE_CXX_FLAGS_RELEASE}")
|
||||||
|
|||||||
Reference in New Issue
Block a user