summaryrefslogtreecommitdiff
path: root/indra/cmake/UI.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-12-17 13:13:41 -0500
committerOz Linden <oz@lindenlab.com>2014-12-17 13:13:41 -0500
commit2714ecea21d2061023a9bc8738bbefcdd28dc3ed (patch)
tree16d0531b07152cea0f5810772e432e38c16ded16 /indra/cmake/UI.cmake
parent680194deaf7a35caaa629abc16e886d71baff636 (diff)
adjust cmake not to attempt loads of packages on the wrong platforms
Diffstat (limited to 'indra/cmake/UI.cmake')
-rwxr-xr-xindra/cmake/UI.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/cmake/UI.cmake b/indra/cmake/UI.cmake
index 58acdc22bd..31174209a3 100755
--- a/indra/cmake/UI.cmake
+++ b/indra/cmake/UI.cmake
@@ -32,7 +32,10 @@ if (USESYSTEMLIBS)
add_definitions(${${pkg}_CFLAGS_OTHERS})
endforeach(pkg)
else (USESYSTEMLIBS)
- use_prebuilt_binary(gtk-atk-pango-glib)
+ if (LINUX OR WINDOWS)
+ use_prebuilt_binary(gtk-atk-pango-glib)
+ endif (LINUX OR WINDOWS)
+
if (LINUX)
set(UI_LIBRARIES
atk-1.0