Update CMakeLists.txt
This commit is contained in:
parent
18befa5e81
commit
d939375a52
@ -511,8 +511,8 @@ if (FLTK_USE_X11)
|
||||
endif (FLTK_USE_X11)
|
||||
|
||||
if (OPTION_USE_WAYLAND)
|
||||
include_directories(${DBUS_INCLUDE_DIRS})
|
||||
pkg_check_modules(DBUS dbus-1)
|
||||
include_directories(${DBUS_INCLUDE_DIRS})
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${CMAKE_CURRENT_BINARY_DIR} -fPIC -D_GNU_SOURCE")
|
||||
if (DBUS_FOUND)
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAS_DBUS")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user