mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Update CMakeLists.txt
This commit is contained in:
committed by
ManoloFLTK
parent
18befa5e81
commit
d939375a52
+1
-1
@@ -511,8 +511,8 @@ if (FLTK_USE_X11)
|
|||||||
endif (FLTK_USE_X11)
|
endif (FLTK_USE_X11)
|
||||||
|
|
||||||
if (OPTION_USE_WAYLAND)
|
if (OPTION_USE_WAYLAND)
|
||||||
include_directories(${DBUS_INCLUDE_DIRS})
|
|
||||||
pkg_check_modules(DBUS dbus-1)
|
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")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I${CMAKE_CURRENT_BINARY_DIR} -fPIC -D_GNU_SOURCE")
|
||||||
if (DBUS_FOUND)
|
if (DBUS_FOUND)
|
||||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAS_DBUS")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAS_DBUS")
|
||||||
|
|||||||
Reference in New Issue
Block a user