diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-06-29 15:52:24 -0400 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-06-29 15:52:24 -0400 |
commit | 50c40dd72e7a36af91cb84395a4a88b984b219aa (patch) | |
tree | a29dccea6bfaac6d76e1cef4ae0579295ca6c3b2 /indra/llwindow/CMakeLists.txt | |
parent | 6da0725c3b75c24855537df877672595de8e56e6 (diff) | |
parent | 87918b4bfe27ddcba2e4a44323ebc85e509a92fc (diff) |
Merged my latest eventhost changes with tip/latest viewer-2.0.0-3.
Diffstat (limited to 'indra/llwindow/CMakeLists.txt')
-rw-r--r-- | indra/llwindow/CMakeLists.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/indra/llwindow/CMakeLists.txt b/indra/llwindow/CMakeLists.txt index f5d06b7258..b80080e458 100644 --- a/indra/llwindow/CMakeLists.txt +++ b/indra/llwindow/CMakeLists.txt @@ -35,6 +35,7 @@ include_directories( set(llwindow_SOURCE_FILES llkeyboard.cpp llwindowheadless.cpp + llwindowcallbacks.cpp ) set(llwindow_HEADER_FILES @@ -42,27 +43,28 @@ set(llwindow_HEADER_FILES llkeyboard.h llwindowheadless.h + llwindowcallbacks.h ) set(viewer_SOURCE_FILES llwindow.cpp llmousehandler.cpp - llwindowcallbacks.cpp ) set(viewer_HEADER_FILES llwindow.h - llwindowcallbacks.h llpreeditor.h llmousehandler.h ) # Libraries on which this library depends, needed for Linux builds # Sort by high-level to low-level -set(llwindow_LINK_LIBRARIES - ${UI_LIBRARIES} # for GTK - ${SDL_LIBRARY} - ) +if (NOT LINUX OR VIEWER) + set(llwindow_LINK_LIBRARIES + ${UI_LIBRARIES} # for GTK + ${SDL_LIBRARY} + ) +endif (VIEWER) if (DARWIN) list(APPEND llwindow_SOURCE_FILES @@ -85,7 +87,7 @@ if (DARWIN) ) endif (DARWIN) -if (LINUX) +if (LINUX AND VIEWER) list(APPEND viewer_SOURCE_FILES llkeyboardsdl.cpp llwindowsdl.cpp |