Lines 376-402
if(NOT GTK3_FOUND)
Link Here
|
376 |
endif(NOT GTK3_FOUND) |
376 |
endif(NOT GTK3_FOUND) |
377 |
include_directories(${GTK3_INCLUDE_DIRS}) |
377 |
include_directories(${GTK3_INCLUDE_DIRS}) |
378 |
|
378 |
|
379 |
pkg_check_modules(wayland-client REQUIRED wayland-client) |
379 |
pkg_check_modules(wayland-client wayland-client) |
380 |
if(NOT wayland-client_FOUND) |
380 |
if(wayland-client_FOUND) |
381 |
message(FATAL_ERROR "Wayland library not found") |
381 |
set(GTK_LIBRARIES |
382 |
endif(NOT wayland-client_FOUND) |
382 |
${GTK3_LIBRARY} |
383 |
|
383 |
${GDK3_LIBRARY} |
384 |
include_directories(${wayland-client_INCLUDE_DIRS}) |
384 |
${GDKPixbuf_LIBRARY} |
385 |
|
385 |
${Pango_LIBRARY} |
386 |
set(GTK_LIBRARIES |
386 |
${Cairo_LIBRARY} |
387 |
${GTK3_LIBRARY} |
387 |
${GObject_LIBRARY} |
388 |
${GDK3_LIBRARY} |
388 |
${GLib_LIBRARY} |
389 |
${GDKPixbuf_LIBRARY} |
389 |
${GIO_LIBRARY} |
390 |
${Pango_LIBRARY} |
390 |
${Gmodule_LIBRARIES} |
391 |
${Cairo_LIBRARY} |
391 |
${GMODULE_LIBRARY} |
392 |
${GObject_LIBRARY} |
392 |
${wayland-client_LIBRARIES} |
393 |
${GLib_LIBRARY} |
393 |
) |
394 |
${GIO_LIBRARY} |
394 |
include_directories(${wayland-client_INCLUDE_DIRS}) |
395 |
${Gmodule_LIBRARIES} |
395 |
message(STATUS "Wayland library found.") |
396 |
${GMODULE_LIBRARY} |
396 |
else() |
397 |
${wayland-client_LIBRARIES} |
397 |
set(GTK_LIBRARIES |
398 |
) |
398 |
${GTK3_LIBRARY} |
399 |
|
399 |
${GDK3_LIBRARY} |
|
|
400 |
${GDKPixbuf_LIBRARY} |
401 |
${Pango_LIBRARY} |
402 |
${Cairo_LIBRARY} |
403 |
${GObject_LIBRARY} |
404 |
${GLib_LIBRARY} |
405 |
${GIO_LIBRARY} |
406 |
${Gmodule_LIBRARIES} |
407 |
${GMODULE_LIBRARY} |
408 |
) |
409 |
message(STATUS "Wayland library not found.") |
410 |
endif() |
400 |
|
411 |
|
401 |
set(CMAKE_THREAD_PREFER_PTHREAD TRUE) |
412 |
set(CMAKE_THREAD_PREFER_PTHREAD TRUE) |
402 |
find_package(Threads REQUIRED) |
413 |
find_package(Threads REQUIRED) |