summaryrefslogtreecommitdiff
path: root/indra/cmake/DBusGlib.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/DBusGlib.cmake')
-rw-r--r--indra/cmake/DBusGlib.cmake15
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/cmake/DBusGlib.cmake b/indra/cmake/DBusGlib.cmake
index f75018ad0e..c9b727ca9d 100644
--- a/indra/cmake/DBusGlib.cmake
+++ b/indra/cmake/DBusGlib.cmake
@@ -3,11 +3,12 @@ include(Prebuilt)
add_library( ll::dbus INTERFACE IMPORTED)
-# Only define this when not using the prebuild 3ps, lls prebuild is broken
-if( NOT USE_AUTOBUILD_3P )
- target_compile_definitions( ll::dbus INTERFACE LL_DBUS_ENABLED )
+if( LINUX )
+ # Only define this when not using the prebuild 3ps, lls prebuild is broken
+ if( NOT USE_AUTOBUILD_3P )
+ target_compile_definitions( ll::dbus INTERFACE LL_DBUS_ENABLED )
+ endif()
+ use_system_binary(dbus)
+
+ use_prebuilt_binary(dbus_glib)
endif()
-use_system_binary(dbus)
-
-use_prebuilt_binary(dbus_glib)
-