diff options
author | Armin Weatherwax | 2010-06-14 12:04:49 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:38:25 +0200 |
commit | 35df5441d3e2789663532c948731aff3a1e04728 (patch) | |
tree | ac7674289784a5f96106ea507637055a8dada78a /linden/indra/llwindow/CMakeLists.txt | |
parent | Changed version to Experimental 2010.09.18 (diff) | |
download | meta-impy-35df5441d3e2789663532c948731aff3a1e04728.zip meta-impy-35df5441d3e2789663532c948731aff3a1e04728.tar.gz meta-impy-35df5441d3e2789663532c948731aff3a1e04728.tar.bz2 meta-impy-35df5441d3e2789663532c948731aff3a1e04728.tar.xz |
llmediaplugins first step
Diffstat (limited to 'linden/indra/llwindow/CMakeLists.txt')
-rw-r--r-- | linden/indra/llwindow/CMakeLists.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/linden/indra/llwindow/CMakeLists.txt b/linden/indra/llwindow/CMakeLists.txt index afce0c0..5224163 100644 --- a/linden/indra/llwindow/CMakeLists.txt +++ b/linden/indra/llwindow/CMakeLists.txt | |||
@@ -19,7 +19,6 @@ include(LLRender) | |||
19 | include(LLVFS) | 19 | include(LLVFS) |
20 | include(LLWindow) | 20 | include(LLWindow) |
21 | include(LLXML) | 21 | include(LLXML) |
22 | include(Mozlib) | ||
23 | include(UI) | 22 | include(UI) |
24 | 23 | ||
25 | include_directories( | 24 | include_directories( |
@@ -55,6 +54,13 @@ set(viewer_HEADER_FILES | |||
55 | llmousehandler.h | 54 | llmousehandler.h |
56 | ) | 55 | ) |
57 | 56 | ||
57 | # Libraries on which this library depends, needed for Linux builds | ||
58 | # Sort by high-level to low-level | ||
59 | set(llwindow_LINK_LIBRARIES | ||
60 | ${UI_LIBRARIES} # for GTK | ||
61 | ${SDL_LIBRARY} | ||
62 | ) | ||
63 | |||
58 | if (DARWIN) | 64 | if (DARWIN) |
59 | list(APPEND llwindow_SOURCE_FILES | 65 | list(APPEND llwindow_SOURCE_FILES |
60 | llkeyboardmacosx.cpp | 66 | llkeyboardmacosx.cpp |
@@ -98,6 +104,9 @@ if (WINDOWS) | |||
98 | lldxhardware.h | 104 | lldxhardware.h |
99 | llkeyboardwin32.h | 105 | llkeyboardwin32.h |
100 | ) | 106 | ) |
107 | list(APPEND llwindow_LINK_LIBRARIES | ||
108 | comdlg32 # Common Dialogs for ChooseColor | ||
109 | ) | ||
101 | endif (WINDOWS) | 110 | endif (WINDOWS) |
102 | 111 | ||
103 | if (SOLARIS) | 112 | if (SOLARIS) |
@@ -134,6 +143,7 @@ if (SERVER AND NOT WINDOWS AND NOT DARWIN) | |||
134 | ${server_SOURCE_FILES} | 143 | ${server_SOURCE_FILES} |
135 | ) | 144 | ) |
136 | endif (SERVER AND NOT WINDOWS AND NOT DARWIN) | 145 | endif (SERVER AND NOT WINDOWS AND NOT DARWIN) |
146 | # *TODO: This should probably have target_link_libraries | ||
137 | 147 | ||
138 | if (llwindow_HEADER_FILES) | 148 | if (llwindow_HEADER_FILES) |
139 | list(APPEND llwindow_SOURCE_FILES ${llwindow_HEADER_FILES}) | 149 | list(APPEND llwindow_SOURCE_FILES ${llwindow_HEADER_FILES}) |
@@ -145,4 +155,6 @@ if (VIEWER) | |||
145 | ${llwindow_SOURCE_FILES} | 155 | ${llwindow_SOURCE_FILES} |
146 | ${viewer_SOURCE_FILES} | 156 | ${viewer_SOURCE_FILES} |
147 | ) | 157 | ) |
158 | target_link_libraries (llwindow ${llwindow_LINK_LIBRARIES}) | ||
148 | endif (VIEWER) | 159 | endif (VIEWER) |
160 | |||