Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 344 Lines • ▼ Show 20 Line(s) | |||||
345 | if (HAVE_PR_SET_DUMPABLE OR HAVE_PROC_TRACE_CTL) | 345 | if (HAVE_PR_SET_DUMPABLE OR HAVE_PROC_TRACE_CTL) | ||
346 | set(CAN_DISABLE_PTRACE TRUE) | 346 | set(CAN_DISABLE_PTRACE TRUE) | ||
347 | endif() | 347 | endif() | ||
348 | add_feature_info("prctl/procctl tracing control" | 348 | add_feature_info("prctl/procctl tracing control" | ||
349 | CAN_DISABLE_PTRACE | 349 | CAN_DISABLE_PTRACE | ||
350 | "Required for disallowing ptrace on kwin_wayland process") | 350 | "Required for disallowing ptrace on kwin_wayland process") | ||
351 | 351 | | |||
352 | check_include_file("sys/sysmacros.h" HAVE_SYS_SYSMACROS_H) | 352 | check_include_file("sys/sysmacros.h" HAVE_SYS_SYSMACROS_H) | ||
353 | configure_file(config-kwin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h ) | | |||
354 | 353 | | |||
355 | check_include_file("linux/vt.h" HAVE_LINUX_VT_H) | 354 | check_include_file("linux/vt.h" HAVE_LINUX_VT_H) | ||
356 | add_feature_info("linux/vt.h" | 355 | add_feature_info("linux/vt.h" | ||
357 | HAVE_LINUX_VT_H | 356 | HAVE_LINUX_VT_H | ||
358 | "Required for virtual terminal support under wayland") | 357 | "Required for virtual terminal support under wayland") | ||
359 | check_include_file("linux/fb.h" HAVE_LINUX_FB_H) | 358 | check_include_file("linux/fb.h" HAVE_LINUX_FB_H) | ||
360 | add_feature_info("linux/fb.h" | 359 | add_feature_info("linux/fb.h" | ||
361 | HAVE_LINUX_FB_H | 360 | HAVE_LINUX_FB_H | ||
362 | "Required for the fbdev backend") | 361 | "Required for the fbdev backend") | ||
363 | 362 | | |||
364 | check_symbol_exists(SCHED_RESET_ON_FORK "sched.h" HAVE_SCHED_RESET_ON_FORK) | 363 | check_symbol_exists(SCHED_RESET_ON_FORK "sched.h" HAVE_SCHED_RESET_ON_FORK) | ||
365 | add_feature_info("SCHED_RESET_ON_FORK" | 364 | add_feature_info("SCHED_RESET_ON_FORK" | ||
366 | HAVE_SCHED_RESET_ON_FORK | 365 | HAVE_SCHED_RESET_ON_FORK | ||
367 | "Required for running kwin_wayland with real-time scheduling") | 366 | "Required for running kwin_wayland with real-time scheduling") | ||
368 | 367 | | |||
368 | configure_file(config-kwin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kwin.h ) | ||||
369 | | ||||
369 | ########### global ############### | 370 | ########### global ############### | ||
370 | set(kwin_effects_dbus_xml ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kwin.Effects.xml) | 371 | set(kwin_effects_dbus_xml ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.kwin.Effects.xml) | ||
371 | 372 | | |||
372 | include_directories(BEFORE | 373 | include_directories(BEFORE | ||
373 | ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects | 374 | ${CMAKE_CURRENT_BINARY_DIR}/libkwineffects | ||
374 | ${CMAKE_CURRENT_BINARY_DIR} | 375 | ${CMAKE_CURRENT_BINARY_DIR} | ||
375 | ${CMAKE_CURRENT_SOURCE_DIR}/libkwineffects | 376 | ${CMAKE_CURRENT_SOURCE_DIR}/libkwineffects | ||
376 | ${CMAKE_CURRENT_SOURCE_DIR}/effects | 377 | ${CMAKE_CURRENT_SOURCE_DIR}/effects | ||
▲ Show 20 Lines • Show All 376 Lines • Show Last 20 Lines |