summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")