2019-09-17 09:15:35 +00:00
|
|
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
2017-07-29 18:01:11 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-int-to-pointer-cast")
|
|
|
|
endif()
|
2019-09-17 09:15:35 +00:00
|
|
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
2017-07-29 18:01:11 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-int-to-void-pointer-cast")
|
|
|
|
endif()
|
2017-09-08 20:30:18 +00:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl)
|
2016-04-15 07:11:30 +00:00
|
|
|
add_library(eglx11common STATIC eglonxbackend.cpp)
|
|
|
|
target_link_libraries(eglx11common kwin)
|