diff options
Diffstat (limited to 'linden/indra/llwindow/CMakeLists.txt')
-rw-r--r-- | linden/indra/llwindow/CMakeLists.txt | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/linden/indra/llwindow/CMakeLists.txt b/linden/indra/llwindow/CMakeLists.txt index ea81abf..98da751 100644 --- a/linden/indra/llwindow/CMakeLists.txt +++ b/linden/indra/llwindow/CMakeLists.txt | |||
@@ -56,11 +56,18 @@ set(viewer_HEADER_FILES | |||
56 | 56 | ||
57 | # Libraries on which this library depends, needed for Linux builds | 57 | # Libraries on which this library depends, needed for Linux builds |
58 | # Sort by high-level to low-level | 58 | # Sort by high-level to low-level |
59 | set(llwindow_LINK_LIBRARIES | 59 | if (LINUX) |
60 | ${UI_LIBRARIES} # for GTK | 60 | set(llwindow_LINK_LIBRARIES |
61 | ${SDL_LIBRARY} | 61 | ${UI_LIBRARIES} # for GTK |
62 | fontconfig # For FCInit and other FC* functions. | 62 | ${SDL_LIBRARY} |
63 | ) | 63 | fontconfig # For FCInit and other FC* functions. |
64 | ) | ||
65 | else (LINUX) | ||
66 | set(llwindow_LINK_LIBRARIES | ||
67 | ${UI_LIBRARIES} # for GTK | ||
68 | ${SDL_LIBRARY} | ||
69 | ) | ||
70 | endif (LINUX) | ||
64 | 71 | ||
65 | if (DARWIN) | 72 | if (DARWIN) |
66 | list(APPEND llwindow_SOURCE_FILES | 73 | list(APPEND llwindow_SOURCE_FILES |