summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Alyousef <may642_2000@hotmail.com>2023-07-07 01:57:04 +0300
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-07-09 08:11:42 +0200
commitd939375a52e26e920685f1db7dafb1f8b0fbe891 (patch)
tree603b51354b3398eead8635c1f74ed846579fe7dd
parent18befa5e818b7399c1443b6533f1638a2d2eccf9 (diff)
Update CMakeLists.txt
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 58c27630e..681aac2cd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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")