Commit 31e43878 authored by Martin Flöser's avatar Martin Flöser

[platforms/x11] Silence warning caused by eglCreateImageKHR taking an xpixmap for a pointer

Nothing we can do, the API sucks. So just silence warning.
parent 859709f1
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-int-to-pointer-cast")
endif()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-int-to-void-pointer-cast")
endif()
add_library(eglx11common STATIC eglonxbackend.cpp)
target_link_libraries(eglx11common kwin)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment