aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/CMakeLists.txt
diff options
context:
space:
mode:
authorArmin Weatherwax2010-06-14 12:04:49 +0200
committerArmin Weatherwax2010-09-23 15:38:25 +0200
commit35df5441d3e2789663532c948731aff3a1e04728 (patch)
treeac7674289784a5f96106ea507637055a8dada78a /linden/indra/llwindow/CMakeLists.txt
parentChanged version to Experimental 2010.09.18 (diff)
downloadmeta-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.txt14
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)
19include(LLVFS) 19include(LLVFS)
20include(LLWindow) 20include(LLWindow)
21include(LLXML) 21include(LLXML)
22include(Mozlib)
23include(UI) 22include(UI)
24 23
25include_directories( 24include_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
59set(llwindow_LINK_LIBRARIES
60 ${UI_LIBRARIES} # for GTK
61 ${SDL_LIBRARY}
62 )
63
58if (DARWIN) 64if (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 )
101endif (WINDOWS) 110endif (WINDOWS)
102 111
103if (SOLARIS) 112if (SOLARIS)
@@ -134,6 +143,7 @@ if (SERVER AND NOT WINDOWS AND NOT DARWIN)
134 ${server_SOURCE_FILES} 143 ${server_SOURCE_FILES}
135 ) 144 )
136endif (SERVER AND NOT WINDOWS AND NOT DARWIN) 145endif (SERVER AND NOT WINDOWS AND NOT DARWIN)
146 # *TODO: This should probably have target_link_libraries
137 147
138if (llwindow_HEADER_FILES) 148if (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})
148endif (VIEWER) 159endif (VIEWER)
160